cleanup
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
/target
|
/target
|
||||||
/docs
|
|
||||||
|
|||||||
@@ -30,9 +30,3 @@ pub const CAMERAE_OFFSET: f32 = 280.0;
|
|||||||
pub const HORIZONTAL_ACCEL: f32 = 2600.0;
|
pub const HORIZONTAL_ACCEL: f32 = 2600.0;
|
||||||
pub const HORIZONTAL_FRICTION: f32 = 1800.0;
|
pub const HORIZONTAL_FRICTION: f32 = 1800.0;
|
||||||
pub const VERTICAL_RATE: f32 = 4000.0;
|
pub const VERTICAL_RATE: f32 = 4000.0;
|
||||||
|
|
||||||
// Validator
|
|
||||||
pub const INERTIA_MARGIN: f32 = 4.0;
|
|
||||||
pub const DESIGN_LATERAL_SPEED_RATIO: f32 = 0.6;
|
|
||||||
pub const DESIGN_SLOPE_COLS_PER_ROW: f32 =
|
|
||||||
HORIZONTAL_SPEED * DESIGN_LATERAL_SPEED_RATIO / FALL_SPEED;
|
|
||||||
|
|||||||
@@ -7,11 +7,8 @@ use crate::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
pub mod background;
|
pub mod background;
|
||||||
pub mod doors;
|
|
||||||
pub mod generator;
|
|
||||||
pub mod grid;
|
pub mod grid;
|
||||||
pub mod obstacle;
|
pub mod obstacle;
|
||||||
pub mod validator;
|
|
||||||
|
|
||||||
#[derive(Component)]
|
#[derive(Component)]
|
||||||
pub struct Chunk {
|
pub struct Chunk {
|
||||||
|
|||||||
Reference in New Issue
Block a user