1 2 3 4 5 6 7 8 9 10
use crate::float::Float; use crate::hitable::Hitable; use crate::material::Material; pub struct Actor<T> where T: Float { pub hitable: Box<Hitable<T>>, pub material: Box<Material<T>> }
1 2 3 4 5 6 7 8 9 10
use crate::float::Float; use crate::hitable::Hitable; use crate::material::Material; pub struct Actor<T> where T: Float { pub hitable: Box<Hitable<T>>, pub material: Box<Material<T>> }