pub enum NormalBasis {
TangentBitangent,
BitangentTangent,
}Expand description
Ordering of the two tangent-plane coordinates, relative to a supplied tangent T and its bitangent B = cross(N,T)*w. This describes the source frame, not how a consumer regenerates a frame from texture coordinates.
Variants§
TangentBitangent
Red/X follows T; green follows B.
BitangentTangent
Red/X follows B; green follows T.
Trait Implementations§
Source§impl Clone for NormalBasis
impl Clone for NormalBasis
impl Copy for NormalBasis
Source§impl Debug for NormalBasis
impl Debug for NormalBasis
Source§impl Default for NormalBasis
impl Default for NormalBasis
impl Eq for NormalBasis
Source§impl PartialEq for NormalBasis
impl PartialEq for NormalBasis
Source§impl Serialize for NormalBasis
impl Serialize for NormalBasis
impl StructuralPartialEq for NormalBasis
Auto Trait Implementations§
impl Forget for NormalBasis
impl Freeze for NormalBasis
impl RefUnwindSafe for NormalBasis
impl Send for NormalBasis
impl Sync for NormalBasis
impl Unpin for NormalBasis
impl UnsafeUnpin for NormalBasis
impl UnwindSafe for NormalBasis
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.