Trait mgf::Volumetric[][src]

pub trait Volumetric: Shape + Clone {
    fn rotate<R: Rotation3<f32>>(self, r: R) -> Self;

    fn rotate_about<R: Rotation3<f32>>(self, r: R, p: Point3<f32>) -> Self { ... }
}

A type that has volume.

Any type that has Volume can be rotated about its center.

Required Methods

Rotate the bound in place. This is useless for spheres.

Provided Methods

Rotates the object around a point.

Implementors