Enum citro3d::math::CoordinateOrientation
source · pub enum CoordinateOrientation {
LeftHanded,
RightHanded,
}
Expand description
The orientation (or “handedness”) of the coordinate system. Coordinates are always +Y-up, +X-right.
Variants§
LeftHanded
A left-handed coordinate system. +Z points into the screen.
RightHanded
A right-handed coordinate system. +Z points out of the screen.
Trait Implementations§
source§impl Clone for CoordinateOrientation
impl Clone for CoordinateOrientation
source§fn clone(&self) -> CoordinateOrientation
fn clone(&self) -> CoordinateOrientation
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CoordinateOrientation
impl Debug for CoordinateOrientation
source§impl Default for CoordinateOrientation
impl Default for CoordinateOrientation
source§fn default() -> Self
fn default() -> Self
This is an opinionated default, but RightHanded
seems to be the preferred coordinate system for most
examples
from upstream, and is also fairly common in other applications.
impl Copy for CoordinateOrientation
Auto Trait Implementations§
impl RefUnwindSafe for CoordinateOrientation
impl Send for CoordinateOrientation
impl Sync for CoordinateOrientation
impl Unpin for CoordinateOrientation
impl UnwindSafe for CoordinateOrientation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more