summaryrefslogtreecommitdiffstats
path: root/graphics/src/triangle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/triangle.rs')
-rw-r--r--graphics/src/triangle.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/src/triangle.rs b/graphics/src/triangle.rs
index 2b157e3a..474f69b8 100644
--- a/graphics/src/triangle.rs
+++ b/graphics/src/triangle.rs
@@ -5,6 +5,7 @@
pub struct Mesh2D {
/// The vertices of the mesh
pub vertices: Vec<Vertex2D>,
+
/// The list of vertex indices that defines the triangles of the mesh.
///
/// Therefore, this list should always have a length that is a multiple of