Shadows, New rays and niceness

This commit is contained in:
2023-11-26 04:19:25 -05:00
parent 4e67bbef8d
commit 2e70fc9a68
11 changed files with 284 additions and 198 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use crate::state::run;
use error_iter::ErrorIter;
const EPSILON: f64 = 1e-9;
const EPSILON: f64 = 1e-6;
const INFINITY: f64 = f64::MAX;
const EPSILON_VECTOR: Vector3<f64> = Vector3::new(EPSILON, EPSILON, EPSILON);
static ZERO_VECTOR: Vector3<f64> = Vector3::new(0.0, 0.0, 0.0);