Struct stl_io::IndexedTriangle[][src]

pub struct IndexedTriangle {
    pub normal: Normal,
    pub vertices: [usize; 3],
}

STL Triangle in indexed form, consisting of a normal and three indices to vertices in the vertex list. This format is more compact, since in real world Meshes Triangles usually share vertices with other Triangles.

Fields

Normal vector of the Triangle.

The indexed to the three vertices of the Triangle, when this is used in an IndexedMesh.

Trait Implementations

impl Clone for IndexedTriangle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IndexedTriangle
[src]

Formats the value using the given formatter. Read more

impl PartialEq for IndexedTriangle
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations