pub enum EulerRot {
ZYX,
ZXY,
YXZ,
YZX,
XYZ,
XZY,
ZYZ,
ZXZ,
YXY,
YZY,
XYX,
XZX,
}
Expand description
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).
The two-axis rotations (e.g. ZYZ) are not fully tested and have to be treated with caution.
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
ZYZ
Untested! Use at own risk!
Intrinsic two-axis rotation ZYZ
ZXZ
Untested! Use at own risk!
Intrinsic two-axis rotation ZXZ
YXY
Untested! Use at own risk!
Intrinsic two-axis rotation YXY
YZY
Untested! Use at own risk!
Intrinsic two-axis rotation YZY
XYX
Untested! Use at own risk!
Intrinsic two-axis rotation XYX
XZX
Untested! Use at own risk!
Intrinsic two-axis rotation XZX
Trait Implementations
sourceimpl PartialEq<EulerRot> for EulerRot
impl PartialEq<EulerRot> for EulerRot
impl Copy for EulerRot
impl Eq for EulerRot
impl StructuralEq for EulerRot
impl StructuralPartialEq for EulerRot
Auto Trait Implementations
impl RefUnwindSafe for EulerRot
impl Send for EulerRot
impl Sync for EulerRot
impl Unpin for EulerRot
impl UnwindSafe for EulerRot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more