Drawing optimisations
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user