pub struct Decomposed {
pub translate: [Points; 3],
pub scale: [f64; 3],
pub rotate: [Radians; 3],
pub perspective: Option<Points>,
}Expand description
A matrix split into view properties.
Fields§
§translate: [Points; 3]Translation along x, y and z.
scale: [f64; 3]Scale factors.
rotate: [Radians; 3]Rotation around x, y and z (z clockwise on screen).
perspective: Option<Points>The viewer’s distance (perspective), None without perspective.
Trait Implementations§
Source§impl Clone for Decomposed
impl Clone for Decomposed
impl Copy for Decomposed
Source§impl Debug for Decomposed
impl Debug for Decomposed
Source§impl PartialEq for Decomposed
impl PartialEq for Decomposed
impl StructuralPartialEq for Decomposed
Auto Trait Implementations§
impl Forget for Decomposed
impl Freeze for Decomposed
impl Move for Decomposed
impl RefUnwindSafe for Decomposed
impl Send for Decomposed
impl Sync for Decomposed
impl Unpin for Decomposed
impl UnsafeUnpin for Decomposed
impl UnwindSafe for Decomposed
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