#[repr(C)]pub struct Transform {
pub shape: Shape3d,
pub axis: [f64; 3],
pub angle: f64,
pub offset: [f64; 3],
}
Expand description
A transformed 3-dimensional shape
Limitations
Transformations are currently limited to a rotation, followed by a translation.
Fields
shape: Shape3d
The shape being rotated
axis: [f64; 3]
The axis of the rotation
angle: f64
The angle of the rotation
offset: [f64; 3]
The offset of the translation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Transform
impl UnwindSafe for Transform
Blanket Implementations
Mutably borrows from an owned value. Read more