pub trait IsSATObject {
// Required methods
fn for_each_point<F>(&self, f: &mut F)
where F: FnMut(&Point3D);
fn for_each_axis<F>(&self, f: &mut F)
where F: FnMut(&Norm3D);
}
Expand description
IsSATObject is a trait used for objects that can be used for SAT collision checks
Required Methods§
fn for_each_point<F>(&self, f: &mut F)
fn for_each_axis<F>(&self, f: &mut F)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.