Struct mint::LeftQuaternion [] [src]

#[repr(C)]
pub struct LeftQuaternion<T, B> { pub s: T, pub v: Vector3<T>, // some fields omitted }

Standard quaternion corresponding to a left-handed rotation matrix. The exact association of the left-handed basis that is encoded by this quaternion and a right-handed one is presented by B (for "basis") generic parameter.

Read also: https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation#Orientation

Fields

Scalar part of a quaternion.

Vector part of a quaternion.

Trait Implementations

impl<T: Clone, B> From<[T; 4]> for LeftQuaternion<T, B>
[src]

Performs the conversion.

impl<T, B> Into<[T; 4]> for LeftQuaternion<T, B>
[src]

Performs the conversion.