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
fn set_position(&mut self, _: [f32; 3])
Sets position.
fn set_texture_coords(&mut self, _: [f32; 2])
Sets texture coords.
fn set_normal(&mut self, _: [f32; 3])
Sets normal.