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
👎Deprecated: Untested! Use at own risk!
Intrinsic two-axis rotation ZYZ
ZXZ
👎Deprecated: Untested! Use at own risk!
Intrinsic two-axis rotation ZXZ
YXY
👎Deprecated: Untested! Use at own risk!
Intrinsic two-axis rotation YXY
YZY
👎Deprecated: Untested! Use at own risk!
Intrinsic two-axis rotation YZY
XYX
👎Deprecated: Untested! Use at own risk!
Intrinsic two-axis rotation XYX
XZX
👎Deprecated: Untested! Use at own risk!
Intrinsic two-axis rotation XZX
Trait Implementations
impl Copy 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
