Trait nannou::mesh::Normals [−][src]
pub trait Normals { type Normal; type Normals: Channel<Element = Self::Normal>; fn normals(&self) -> &Self::Normals; }
Meshes that contain a channel of vertex normals.
Associated Types
type Normal
[src]
The vector type used to represent the normal.
type Normals: Channel<Element = Self::Normal>
[src]
The channel type containing vertex normals.
Required methods
Loading content...Implementations on Foreign Types
impl<'a, M> Normals for &'a M where
M: Normals,
[src]
M: Normals,
impl<'a, M> Normals for &'a mut M where
M: Normals,
[src]
M: Normals,
impl<'a, M> Normals for Ref<'a, M> where
M: Normals,
[src]
M: Normals,
impl<'a, M> Normals for RefMut<'a, M> where
M: Normals,
[src]
Loading content...M: Normals,
Implementors
impl<M, C> Normals for WithColors<M, C> where
M: Normals,
[src]
M: Normals,
impl<M, I> Normals for WithIndices<M, I> where
M: Normals,
[src]
M: Normals,
impl<M, N> Normals for WithNormals<M, N> where
M: Points,
N: Channel,
[src]
M: Points,
N: Channel,
impl<M, T> Normals for WithTexCoords<M, T> where
M: Normals,
[src]
M: Normals,