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
s: T
Scalar part of a quaternion.
v: Vector3<T>
Vector part of a quaternion.