Struct stl_parser::Triangle [] [src]

pub struct Triangle {
    pub vertices: [Vertex; 3],
    pub lines: [Line; 3],
}

Triangle class. Mesh is list of these.

Fields

Methods

impl Triangle
[src]

Proper and easy way to make triangle.

Gives points in triangles lines when x is known

Gives points in triangles lines when y is known

Gives points in triangles lines when z is known

Trait Implementations

impl Debug for Triangle
[src]

Formats the value using the given formatter.

impl Clone for Triangle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more