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: Normal
Normal vector of the Triangle.
vertices: [Vertex; 3]
The three vertices of the Triangle.