Enum glam::EulerRot [−][src]
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
Intrinsic three-axis rotation ZYX
Intrinsic three-axis rotation ZXY
Intrinsic three-axis rotation YXZ
Intrinsic three-axis rotation YZX
Intrinsic three-axis rotation XYZ
Intrinsic three-axis rotation XZY
Untested! Use at own risk!
Intrinsic two-axis rotation ZYZ
Untested! Use at own risk!
Intrinsic two-axis rotation ZXZ
Untested! Use at own risk!
Intrinsic two-axis rotation YXY
Untested! Use at own risk!
Intrinsic two-axis rotation YZY
Untested! Use at own risk!
Intrinsic two-axis rotation XYX
Untested! Use at own risk!
Intrinsic two-axis rotation XZX
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EulerRot
impl UnwindSafe for EulerRot
Blanket Implementations
Mutably borrows from an owned value. Read more