polytope_playground/consts.rs
1use std::f32::consts::TAU;
2
3pub(crate) const BODY_SIZE: f32 = 0.7;
4
5pub(crate) const BODY_Y: f32 = 0.9;
6
7pub(crate) const BODY_X_SPACING: f32 = 1.8;
8
9pub(crate) const W_RANGE: f32 = 1.5;
10
11pub(crate) const W_SCRUB_RATE: f32 = 0.5;
12
13pub(crate) const BASE_ROTATION_RATE: f32 = TAU * 0.3;
14
15pub(crate) const FLOOR_Y: f32 = 0.0;
16
17pub(crate) const GRAVITY: f32 = 9.8;
18
19pub(crate) const MAX_RATE: f32 = 4.0;