Struct stl_io::IndexedTriangle
source · Expand description
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: Normal
Normal vector of the Triangle.
vertices: [usize; 3]
The indexed to the three vertices of the Triangle, when this is used in an IndexedMesh.
Trait Implementations§
source§impl Clone for IndexedTriangle
impl Clone for IndexedTriangle
source§fn clone(&self) -> IndexedTriangle
fn clone(&self) -> IndexedTriangle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more