pub enum Moves {
Point,
Normal,
Tangent,
Not,
}Expand description
How a map of space moves a vertex stream of a Semantic: every pass that moves vertices (a crate::Linear
map, a skin, a frame change) moves each stream by its meaning’s rule, so a meaning added here moves everywhere at once.
Variants§
Point
As a point: the map’s linear part and its translation (positions, Semantic::Point).
Normal
As a surface normal: the inverse transpose of the linear part, kept of unit length.
Tangent
As a tangent (xyz, w the bitangent sign): the linear part, of unit length, w negated under a mirror.
Not
Not at all: texture coordinates, colours, skin weights and opaque shader data.
Trait Implementations§
impl Copy for Moves
impl Eq for Moves
impl StructuralPartialEq for Moves
Auto Trait Implementations§
impl Forget for Moves
impl Freeze for Moves
impl RefUnwindSafe for Moves
impl Send for Moves
impl Sync for Moves
impl Unpin for Moves
impl UnsafeUnpin for Moves
impl UnwindSafe for Moves
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.