Struct mint::Quaternion
[−]
[src]
#[repr(C)]pub struct Quaternion<T> { pub s: T, pub v: Vector3<T>, }
Standard quaternion represented by the scalar and vector parts. Useful for representing rotation in 3D space. Corresponds to a right-handed rotation matrix.
Fields
s: T
Scalar part of a quaternion.
v: Vector3<T>
Vector part of a quaternion.