From 827d943c3f27c65724ff83689b40c87d1cd1838c Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 4 Aug 2025 16:17:41 -0900 Subject: fix wrong float rounding in get_friction_influenced_speed --- azalea-core/src/math.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-core/src') diff --git a/azalea-core/src/math.rs b/azalea-core/src/math.rs index a115927d..d5fe5af9 100644 --- a/azalea-core/src/math.rs +++ b/azalea-core/src/math.rs @@ -4,7 +4,7 @@ use std::{ sync::LazyLock, }; -pub const EPSILON: f64 = 1.0E-7; +pub const EPSILON: f64 = 1.0e-7; pub static SIN: LazyLock<[f32; 65536]> = LazyLock::new(|| std::array::from_fn(|i| f64::sin((i as f64) * PI * 2. / 65536.) as f32)); -- cgit v1.2.3