Drawing optimisations

This commit is contained in:
2023-11-25 13:22:54 -05:00
parent 055f3b6a71
commit 348be665c9
3 changed files with 35 additions and 85 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use crate::state::run;
use error_iter::ErrorIter;
const EPSILON: f32 = 1e-6;
const EPSILON: f32 = 1e-9;
const INFINITY: f32 = f32::MAX;
const EPSILON_VECTOR: Vector3<f32> = Vector3::new(EPSILON, EPSILON, EPSILON);
static ZERO_VECTOR: Vector3<f32> = Vector3::new(0.0, 0.0, 0.0);