Struct mint::EulerAngles
[−]
[src]
#[repr(C)]pub struct EulerAngles<T, B> { pub a: T, pub b: T, pub c: T, // some fields omitted }
Abstract set of Euler angles in 3D space. The basis of angles
is defined by the generic parameter B
.
Note: there are multiple notations of Euler angles. They are split in two groups: - intrinsic (also known as "Tait-Bryan angles"): rotate around local axis - extrinsic (also known as "Proper Euler angles"): rotate around world axis For each interpretation, different axis may be chosen in different order.
Fields
a: T
First angle of rotation in range -pi, pi.
b: T
Second angle of rotation around in range -pi/2, pi/2.
c: T
Third angle of rotation in range -pi, pi.
Trait Implementations
impl<T: Clone, B> From<[T; 3]> for EulerAngles<T, B>
[src]
impl<T, B> Into<[T; 3]> for EulerAngles<T, B>
[src]
impl<T> From<EulerAngles<T, IntraXYZ>> for EulerAngles<T, ExtraZYX>
[src]
fn from(other: EulerAngles<T, IntraXYZ>) -> Self
Performs the conversion.
impl<T> From<EulerAngles<T, ExtraZYX>> for EulerAngles<T, IntraXYZ>
[src]
fn from(other: EulerAngles<T, ExtraZYX>) -> Self
Performs the conversion.
impl<T> From<EulerAngles<T, IntraZXZ>> for EulerAngles<T, ExtraZXZ>
[src]
fn from(other: EulerAngles<T, IntraZXZ>) -> Self
Performs the conversion.
impl<T> From<EulerAngles<T, ExtraZXZ>> for EulerAngles<T, IntraZXZ>
[src]
fn from(other: EulerAngles<T, ExtraZXZ>) -> Self
Performs the conversion.
impl<T> From<EulerAngles<T, IntraZYX>> for EulerAngles<T, ExtraXYZ>
[src]
fn from(other: EulerAngles<T, IntraZYX>) -> Self
Performs the conversion.
impl<T> From<EulerAngles<T, ExtraXYZ>> for EulerAngles<T, IntraZYX>
[src]
fn from(other: EulerAngles<T, ExtraXYZ>) -> Self
Performs the conversion.