aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-01-29 00:58:32 +0100
committerJulian T <julian@jtle.dk>2021-01-29 00:58:32 +0100
commitfdb3e8cb8d53449c107388e143345beae162f95e (patch)
tree7a04102eb2722d2fddeefd0b2e1fa0e8a4e995f3 /src/lib.rs
parentf467334b26f31b19ebbd222de2b4167b1538ccee (diff)
Finish get_tile on Film
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>
{}