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