[−][src]Trait mgf::Volumetric
A type that has volume.
Any type that has Volume can be rotated about its center.
Required methods
fn rotate<R: Rotation3<f32>>(self, r: R) -> Self
Rotate the bound in place. This is useless for spheres.
Provided methods
fn rotate_about<R: Rotation3<f32>>(self, r: R, p: Point3<f32>) -> Self
Rotates the object around a point.
Implementors
impl Volumetric for Component
[src]
fn rotate<R: Rotation3<f32>>(self, r: R) -> Self
[src]
fn rotate_about<R: Rotation3<f32>>(self, r: R, p: Point3<f32>) -> Self
[src]
impl Volumetric for AABB
[src]
fn rotate<R: Rotation3<f32>>(self, rot: R) -> AABB
[src]
fn rotate_about<R: Rotation3<f32>>(self, r: R, p: Point3<f32>) -> Self
[src]
impl Volumetric for Capsule
[src]
fn rotate<R: Rotation3<f32>>(self, r: R) -> Self
[src]
fn rotate_about<R: Rotation3<f32>>(self, r: R, p: Point3<f32>) -> Self
[src]
impl Volumetric for ConvexMesh
[src]
fn rotate<R: Rotation3<f32>>(self, rot: R) -> ConvexMesh
[src]
fn rotate_about<R: Rotation3<f32>>(self, r: R, p: Point3<f32>) -> Self
[src]
impl Volumetric for Mesh
[src]
Rotating meshes is not a fast operation.