aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7da6627..a0af705 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,6 +4,7 @@ pub mod render;
pub mod scene;
pub mod trace;
pub mod sample;
+pub mod material;
use std::ops::{Add, Sub, Mul, DivAssign, Neg};
use std::cmp;
@@ -34,3 +35,4 @@ impl Number for f64 {}
pub type Float = f64;
pub const M_PI: Float = PI;
+pub const NEAR_ZERO: Float = 1e-8;