#[repr(C)]pub struct Transform {
pub shape: Shape,
pub axis: [f64; 3],
pub angle: Angle,
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: Shape
The shape being transformed
axis: [f64; 3]
The axis of the rotation
angle: Angle
The angle of the rotation
offset: [f64; 3]
The offset of the translation
Trait Implementations
sourceimpl PartialEq<Transform> for Transform
impl PartialEq<Transform> for Transform
impl StructuralPartialEq for Transform
Auto Trait Implementations
impl RefUnwindSafe for Transform
impl Send for Transform
impl !Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more