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 Clone for Triangle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Triangle
[src]

Formats the value using the given formatter. Read more

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 !=.

Auto Trait Implementations

impl Send for Triangle

impl Sync for Triangle