pub enum EulerOrder {
XYZ,
YXZ,
ZXY,
ZYX,
YZX,
XZY,
}Expand description
The axis order in which the three rotations of an Euler are applied.
Corresponds to the order strings three.js uses ('XYZ', 'YXZ', etc.);
three.js also accepts an unrecognized order string by warning and leaving
the angles unchanged; there is no such fallback here since the type
system rules it out.
Variants§
XYZ
Euler.DEFAULT_ORDER.
YXZ
Y, then X, then Z.
ZXY
Z, then X, then Y.
ZYX
Z, then Y, then X.
YZX
Y, then Z, then X.
XZY
X, then Z, then Y.
Trait Implementations§
Source§impl Clone for EulerOrder
impl Clone for EulerOrder
impl Copy for EulerOrder
Source§impl Debug for EulerOrder
impl Debug for EulerOrder
Source§impl Default for EulerOrder
impl Default for EulerOrder
impl Eq for EulerOrder
Source§impl PartialEq for EulerOrder
impl PartialEq for EulerOrder
impl StructuralPartialEq for EulerOrder
Auto Trait Implementations§
impl Freeze for EulerOrder
impl RefUnwindSafe for EulerOrder
impl Send for EulerOrder
impl Sync for EulerOrder
impl Unpin for EulerOrder
impl UnsafeUnpin for EulerOrder
impl UnwindSafe for EulerOrder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.