Trait nannou::mesh::Normals
[−]
[src]
pub trait Normals: Points where
Self::Point: EuclideanSpace, { type Normals: Channel<Element = <Self::Point as EuclideanSpace>::Diff>; fn normals(&self) -> &Self::Normals; }
Meshes that contain a channel of vertex normals.
Associated Types
type Normals: Channel<Element = <Self::Point as EuclideanSpace>::Diff>
The channel type containing vertex normals.
Required Methods
Implementations on Foreign Types
impl<'a, M> Normals for &'a M where
M: Normals,
M::Point: EuclideanSpace,
[src]
M: Normals,
M::Point: EuclideanSpace,
impl<'a, M> Normals for &'a mut M where
M: Normals,
M::Point: EuclideanSpace,
[src]
M: Normals,
M::Point: EuclideanSpace,
impl<'a, M> Normals for Ref<'a, M> where
M: Normals,
M::Point: EuclideanSpace,
[src]
M: Normals,
M::Point: EuclideanSpace,
impl<'a, M> Normals for RefMut<'a, M> where
M: Normals,
M::Point: EuclideanSpace,
[src]
M: Normals,
M::Point: EuclideanSpace,
Implementors
impl<M, N> Normals for WithNormals<M, N> where
M: Points,
M::Point: EuclideanSpace,
N: Channel<Element = <M::Point as EuclideanSpace>::Diff>, type Normals = N;impl<M, I> Normals for WithIndices<M, I> where
M: Normals,
M::Point: EuclideanSpace, type Normals = M::Normals;impl<M, C> Normals for WithColors<M, C> where
M: Normals,
M::Point: EuclideanSpace, type Normals = M::Normals;impl<M, T, S> Normals for WithTexCoords<M, T, S> where
M: Normals,
M::Point: EuclideanSpace, type Normals = M::Normals;