pub trait Material { // Provided method fn is_light(&self) -> bool { ... } }
The trait for types that describe how a ray behaves when hitting an object.
Is the material emitting light