Trait rust_3d::traits::HasCenterOfGravity2D [] [src]

pub trait HasCenterOfGravity2D {
    fn center_of_gravity(&self) -> Result<Point2D>;
}

HasCenterOfGravity2D is a trait for types which might have a center of gravity

Required Methods

Should return the center of gravity

Implementors