[−][src]Function rust_3d::center
pub fn center<T>(x: &mut T) where
T: HasBoundingBox3DMaybe + IsMovable3D,
Positions the object in such a way that its center is at origin
pub fn center<T>(x: &mut T) where
T: HasBoundingBox3DMaybe + IsMovable3D,
Positions the object in such a way that its center is at origin