From befa33a87950b6d0f3364cb4fe603f6d84bf4b8f Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 Oct 2023 15:19:13 -0500 Subject: organize azalea_core and re-export it from azalea --- azalea-core/src/math.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea-core/src/math.rs') diff --git a/azalea-core/src/math.rs b/azalea-core/src/math.rs index 01695a0a..83e6020e 100644 --- a/azalea-core/src/math.rs +++ b/azalea-core/src/math.rs @@ -1,5 +1,7 @@ use std::{f64::consts::PI, sync::LazyLock}; +pub const EPSILON: f64 = 1.0E-7; + pub static SIN: LazyLock<[f32; 65536]> = LazyLock::new(|| { let mut sin = [0.0; 65536]; for (i, item) in sin.iter_mut().enumerate() { -- cgit v1.2.3