pub enum EulerRot {
ZYX,
ZXY,
YXZ,
YZX,
XYZ,
XZY,
}
Expand description
Rotation Helper Euler rotation sequences.
The angles are applied starting from the right. E.g. XYZ will first apply the z-axis rotation.
YXZ can be used for yaw (y-axis), pitch (x-axis), roll (z-axis).
Variants§
ZYX
Intrinsic three-axis rotation ZYX
ZXY
Intrinsic three-axis rotation ZXY
YXZ
Intrinsic three-axis rotation YXZ
YZX
Intrinsic three-axis rotation YZX
XYZ
Intrinsic three-axis rotation XYZ
XZY
Intrinsic three-axis rotation XZY
Trait Implementations§
source§impl<'de> Deserialize<'de> for EulerRot
impl<'de> Deserialize<'de> for EulerRot
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EulerRot
impl PartialEq for EulerRot
impl Copy for EulerRot
impl Eq for EulerRot
impl StructuralPartialEq for EulerRot
Auto Trait Implementations§
impl Freeze for EulerRot
impl RefUnwindSafe for EulerRot
impl Send for EulerRot
impl Sync for EulerRot
impl Unpin for EulerRot
impl UnwindSafe for EulerRot
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more