Struct nannou::geom::graph::node::PreparedTransform [−][src]
pub struct PreparedTransform<S = DefaultScalar> { pub scale: Vector3<S>, pub rot: Basis3<S>, pub disp: Vector3<S>, }
A node's resulting rotation, displacement and scale relative to the graph's origin.
The same as Transfrom but the euler has been converted to a matrix for more efficient application.
Fields
scale: Vector3<S>
A scaling amount along each axis.
The scaling amount is multiplied onto each vertex of the node.
rot: Basis3<S>
A rotation amount along each axis, describing a relative orientation.
Rotates all vertices around the node origin when applied.
disp: Vector3<S>
A displacement amount along each axis.
This vector is added onto the position of each vertex of the node.
Trait Implementations
impl<S: Clone> Clone for PreparedTransform<S>
[src]
impl<S: Clone> Clone for PreparedTransform<S>
fn clone(&self) -> PreparedTransform<S>
[src]
fn clone(&self) -> PreparedTransform<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<S: Debug> Debug for PreparedTransform<S>
[src]
impl<S: Debug> Debug for PreparedTransform<S>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<S: PartialEq> PartialEq for PreparedTransform<S>
[src]
impl<S: PartialEq> PartialEq for PreparedTransform<S>
fn eq(&self, other: &PreparedTransform<S>) -> bool
[src]
fn eq(&self, other: &PreparedTransform<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PreparedTransform<S>) -> bool
[src]
fn ne(&self, other: &PreparedTransform<S>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<S> Send for PreparedTransform<S> where
S: Send,
impl<S> Send for PreparedTransform<S> where
S: Send,
impl<S> Sync for PreparedTransform<S> where
S: Sync,
impl<S> Sync for PreparedTransform<S> where
S: Sync,