diff options
Diffstat (limited to 'azalea-core/src/math.rs')
| -rw-r--r-- | azalea-core/src/math.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |
