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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IndexedTriangle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for IndexedTriangle
[src]

[src]

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

[src]

This method tests for !=.