aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-08-04 16:17:41 -0900
committermat <git@matdoes.dev>2025-08-04 19:33:00 -0545
commit827d943c3f27c65724ff83689b40c87d1cd1838c (patch)
tree52d0145a8d482e912ceccb076accddce4da75c5e /azalea-core/src
parent013cd9f17674a4939d885ef91b7058b5a59d9ae1 (diff)
downloadazalea-drasl-827d943c3f27c65724ff83689b40c87d1cd1838c.tar.xz
fix wrong float rounding in get_friction_influenced_speed
Diffstat (limited to 'azalea-core/src')
-rw-r--r--azalea-core/src/math.rs2
1 files changed, 1 insertions, 1 deletions
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));