Struct dot_crocotile::Object
[−]
[src]
pub struct Object { pub position: Vertex, pub vertices: Vec<Vertex>, pub faces: Vec<Triangle>, pub uvs: Vec<UV>, }
A distinct part of a model.
Fields
position: Vertex
Object-level translation
vertices: Vec<Vertex>
List of all vertices used to display this object
faces: Vec<Triangle>
Indexes of vertices grouped by triangle
uvs: Vec<UV>
Texture coordinates for each triangle