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
impl Copy for EulerRot
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more