pub enum GlbUpAxis {
YUp,
ZUp,
}Expand description
Which axis of the CALLER’s world points up, and therefore what rotation the root node carries to reach glTF’s own right-handed +Y-up frame.
Variants§
YUp
+Y up — this application’s world (see the module doc). Identity.
ZUp
+Z up — rotate -90° about X, so world +Z lands on glTF +Y.
Implementations§
Trait Implementations§
impl Copy for GlbUpAxis
impl Eq for GlbUpAxis
impl StructuralPartialEq for GlbUpAxis
Auto Trait Implementations§
impl Forget for GlbUpAxis
impl Freeze for GlbUpAxis
impl Move for GlbUpAxis
impl RefUnwindSafe for GlbUpAxis
impl Send for GlbUpAxis
impl Sync for GlbUpAxis
impl Unpin for GlbUpAxis
impl UnsafeUnpin for GlbUpAxis
impl UnwindSafe for GlbUpAxis
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
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.