Struct stl_io::Triangle [] [src]

pub struct Triangle {
    pub normal: Normal,
    pub vertices: [Vertex; 3],
}

STL Triangle, consisting of a normal and three vertices. This is the format Triangles are usually stored in STL files.

Fields

Normal vector of the Triangle.

The three vertices of the Triangle.

Trait Implementations

impl Debug for Triangle
[src]

Formats the value using the given formatter.

impl PartialEq for Triangle
[src]

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

This method tests for !=.