pub struct Transform {
pub m: [f32; 16],
}Expand description
A 4x4 homogeneous transform: a rotation and a translation in one matrix.
Stored row-major, this is the building block of forward kinematics: each joint contributes one transform, and chaining them places the tool relative to the base.
Fields§
§m: [f32; 16]The sixteen elements in row-major order (row 0 first).
Implementations§
Trait Implementations§
impl Copy for Transform
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnsafeUnpin for Transform
impl UnwindSafe for Transform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more