oa::vlm::TrsDecomposition

Translation, rotation, signed scale, and reflection extracted from a strict TRS matrix.

StRust public API

Declaration

pub struct TrsDecomposition<T: Float = f32> { pub translation: Vec3<T>, pub rotation: Quat<T>, pub scale: Vec3<T>, pub reflected: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> TrsDecomposition<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &TrsDecomposition<T>) -> bool

Associated Functions

fn default() -> Self

Public Data Members

translationVec3<T>field
rotationQuat<T>field
scaleVec3<T>field
reflectedboolfield

Public Method Documentation

fn clone( &self ) -> TrsDecomposition<T>
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &TrsDecomposition<T> ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.