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

The channel type containing vertex normals.

Required Methods

Borrow the normal channel from the mesh.

Implementations on Foreign Types

impl<'a, M> Normals for &'a M where
    M: Normals,
    M::Point: EuclideanSpace
[src]

impl<'a, M> Normals for &'a mut M where
    M: Normals,
    M::Point: EuclideanSpace
[src]

impl<'a, M> Normals for Ref<'a, M> where
    M: Normals,
    M::Point: EuclideanSpace
[src]

impl<'a, M> Normals for RefMut<'a, M> where
    M: Normals,
    M::Point: EuclideanSpace
[src]

Implementors