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]
fn clone(&self) -> PreparedTransform<S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S: Debug> Debug for PreparedTransform<S>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S: PartialEq> PartialEq for PreparedTransform<S>
[src]
fn eq(&self, __arg_0: &PreparedTransform<S>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PreparedTransform<S>) -> bool
[src]
This method tests for !=
.
Auto Trait Implementations
impl<S> Send for PreparedTransform<S> where
S: Send,
S: Send,
impl<S> Sync for PreparedTransform<S> where
S: Sync,
S: Sync,