From c4565759e4294540f54a81e4d91ddea7a769d3d4 Mon Sep 17 00:00:00 2001 From: bungoboingo Date: Tue, 18 Oct 2022 15:18:37 -0700 Subject: Cleaned up namespaces re: PR comments. --- graphics/src/triangle.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/src/triangle.rs') diff --git a/graphics/src/triangle.rs b/graphics/src/triangle.rs index f019d55d..39359cfb 100644 --- a/graphics/src/triangle.rs +++ b/graphics/src/triangle.rs @@ -7,6 +7,8 @@ pub struct Mesh2D { /// The vertices of the mesh pub vertices: Vec, /// 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 3. pub indices: Vec, } -- cgit