Struct skeletal_animation::QVTransform [] [src]

pub struct QVTransform {
    pub translation: Vector3<f32>,
    pub scale: f32,
    pub rotation: Quaternion<f32>,
}

Transformation represented by separate scaling, translation, and rotation factors.

Fields

translation

Translation

scale

Uniform scale factor.

rotation

Rotation

Trait Implementations

impl Transform for QVTransform

fn identity() -> QVTransform

fn concat(self, other: QVTransform) -> QVTransform

fn inverse(self) -> QVTransform

fn lerp(self, other: QVTransform, parameter: f32) -> QVTransform

fn transform_vector(self, v: Vector3<f32>) -> Vector3<f32>

fn to_matrix(self) -> Matrix4<f32>

fn from_matrix(m: Matrix4<f32>) -> QVTransform

Derived Implementations

impl Clone for QVTransform

fn clone(&self) -> QVTransform

fn clone_from(&mut self, source: &Self)

impl Copy for QVTransform

impl Debug for QVTransform

fn fmt(&self, __arg_0: &mut Formatter) -> Result