Remove now unused constant

This commit is contained in:
Dmitry Kashitsyn 2024-04-08 22:28:21 +05:00
parent c85e38b9b2
commit 529bcd7119
No known key found for this signature in database
GPG Key ID: 6C747B56FC5F1ABA

View File

@ -331,7 +331,6 @@ fn idle<S: State>() -> impl Action<S> + Clone {
/// Try to walk toward a 3D position without caring for obstacles.
fn goto<S: State>(wpos: Vec3<f32>, speed_factor: f32, goal_dist: f32) -> impl Action<S> {
const STEP_DIST: f32 = 24.0;
const WAYPOINT_DIST: f32 = 12.0;
just(move |ctx, waypoint: &mut Option<Vec3<f32>>| {