Trait nannou::mesh::PushVertex
source · pub trait PushVertex<V> {
// Required method
fn push_vertex(&mut self, vertex: V);
}
Expand description
Meshes that can push vertices of type V while keeping all non-index channels the same length before and after the push.
Required Methods§
sourcefn push_vertex(&mut self, vertex: V)
fn push_vertex(&mut self, vertex: V)
Push the given vertex onto the mesh.
Implementation requires that all non-index channels maintain the same length before and after a call to this method.