diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,15 +1,16 @@ -mod vector; -mod bound; -mod camera; +pub mod vector; +pub mod bound; +pub mod camera; mod spectrum; -use std::ops::{Sub, Mul}; +use std::ops::{Add, Sub, Mul}; use std::cmp; pub trait Number: Copy + cmp::PartialOrd + Sub<Output = Self> + + Add<Output = Self> + Mul<Output = Self> {} |