Fix various minor issues

This commit is contained in:
2026-09-03 18:50:38 +02:00
parent 472d21fd39
commit 7c7f9a2762
15 changed files with 54 additions and 32 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ use crate::math::{int::FGi32, vec::FGVec2};
/// Environment collision box: the diamond used to resolve a fighter against
/// the stage. Purely geometry — the collision response lives in
/// [`super::collision`].
#[derive(Component, Debug, Clone, Copy)]
#[derive(Component, Debug, Clone, Copy, Hash)]
#[require(FighterPreviousECB)]
pub struct FighterECB {
pub vertical_half: FGi32,
pub horizontal_half: FGi32,
}
#[derive(Component, Debug, Clone, Copy, Default)]
#[derive(Component, Debug, Clone, Copy, Default, Hash)]
pub struct FighterPreviousECB {
pub vertical_half: FGi32,
pub horizontal_half: FGi32,