Trait geometry::Vertex [] [src]

pub trait Vertex {
    fn set_position(&mut self, _: [f32; 3]);
    fn set_texture_coords(&mut self, _: [f32; 2]);
    fn set_normal(&mut self, _: [f32; 3]);
}

Implemented by vertex types.

Required Methods

Sets position.

Sets texture coords.

Sets normal.

Implementors