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

Object-level translation

List of all vertices used to display this object

Indexes of vertices grouped by triangle

Texture coordinates for each triangle

Trait Implementations

impl Debug for Object
[src]

[src]

Formats the value using the given formatter.