pub mod core; pub mod camera; mod scene; mod render; use std::ops::{Add, Sub, Mul, DivAssign}; use std::cmp; pub trait Number: Copy + cmp::PartialOrd + Sub + Add + Mul + DivAssign {} impl Number for usize {} impl Number for i32 {} impl Number for f32 {} // Used throughout the program type Float = f32;