pub enum Rotation3 {
Identity,
Quaternion([f32; 4]),
}Expand description
Rotation requested while loading a scene descriptor.
Variants§
Identity
Do not rotate loaded coordinates.
Quaternion([f32; 4])
Quaternion represented as [x, y, z, w].
Present to reserve Habitat-Sim’s rotation option shape. MP3D loading
currently rejects this variant with UnsupportedOption.
Trait Implementations§
impl Copy for Rotation3
impl StructuralPartialEq for Rotation3
Auto Trait Implementations§
impl Freeze for Rotation3
impl RefUnwindSafe for Rotation3
impl Send for Rotation3
impl Sync for Rotation3
impl Unpin for Rotation3
impl UnsafeUnpin for Rotation3
impl UnwindSafe for Rotation3
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