Struct obj::Obj
[−]
[src]
pub struct Obj<V = Vertex> { pub name: Option<String>, pub vertices: Vec<V>, pub indices: Vec<u16>, }
3D model object loaded from wavefront OBJ.
Fields
name: Option<String>
Object's name.
vertices: Vec<V>
Vertex buffer.
indices: Vec<u16>
Index buffer.