new

Function new 

Source
pub fn new<R: Renderable>(eg: &mut ExampleVertices<'_, R>, size: f32)
where <R as Renderable>::Descriptor: Unpin,
Expand description

Add positions, normals and indices to an ExampleVertices for a flat upward-facing triangle on z=0 of a given size