aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7066a80..96c9212 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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>
{}