diff options
author | Julian T <julian@jtle.dk> | 2021-01-31 17:21:11 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-01-31 17:21:11 +0100 |
commit | c4369f86c920888bfaa00e46d74e3f5a1872a9ab (patch) | |
tree | 0bbfa3fa0d6db98b43b3854034def7f028a7a847 /src/main.rs | |
parent | 86303936ab3180828b984ebb256bab8e69dab5cf (diff) |
Add Scene type and Sphere intersect
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index c984176..524f613 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,4 @@ -use pathtrace::camera::film::Film; -use pathtrace::vector::{Vector2i}; -use pathtrace::bound::Bound2i; fn main() { - - let film = Film::new(Vector2i::new(100)); - let tile = film.get_tile(&Bound2i::new_xyxy(10, 10, 100, 100)); - - //println!("Yo {}", tile.bounds.min.x); } |