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

First angle of rotation in range -pi, pi.

Second angle of rotation around in range -pi/2, pi/2.

Third angle of rotation in range -pi, pi.

Trait Implementations

impl<T: Clone, B: Clone> Clone for EulerAngles<T, B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy, B: Copy> Copy for EulerAngles<T, B>
[src]

impl<T: Debug, B: Debug> Debug for EulerAngles<T, B>
[src]

Formats the value using the given formatter.

impl<T: Hash, B: Hash> Hash for EulerAngles<T, B>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: PartialEq, B: PartialEq> PartialEq for EulerAngles<T, B>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: PartialOrd, B: PartialOrd> PartialOrd for EulerAngles<T, B>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: Eq, B: Eq> Eq for EulerAngles<T, B>
[src]

impl<T: Ord, B: Ord> Ord for EulerAngles<T, B>
[src]

This method returns an Ordering between self and other. Read more

impl<T: Clone, B> From<[T; 3]> for EulerAngles<T, B>
[src]

Performs the conversion.

impl<T, B> Into<[T; 3]> for EulerAngles<T, B>
[src]

Performs the conversion.

impl<T> From<EulerAngles<T, IntraXYZ>> for EulerAngles<T, ExtraZYX>
[src]

Performs the conversion.

impl<T> From<EulerAngles<T, ExtraZYX>> for EulerAngles<T, IntraXYZ>
[src]

Performs the conversion.

impl<T> From<EulerAngles<T, IntraZXZ>> for EulerAngles<T, ExtraZXZ>
[src]

Performs the conversion.

impl<T> From<EulerAngles<T, ExtraZXZ>> for EulerAngles<T, IntraZXZ>
[src]

Performs the conversion.

impl<T> From<EulerAngles<T, IntraZYX>> for EulerAngles<T, ExtraXYZ>
[src]

Performs the conversion.

impl<T> From<EulerAngles<T, ExtraXYZ>> for EulerAngles<T, IntraZYX>
[src]

Performs the conversion.