diff options
author | 2022-10-18 15:18:37 -0700 | |
---|---|---|
committer | 2022-10-18 15:18:37 -0700 | |
commit | c4565759e4294540f54a81e4d91ddea7a769d3d4 (patch) | |
tree | d326dca32fb327b81ef67fae565b88f386431792 /graphics/src/triangle.rs | |
parent | bb8d46a3fdf925b4b2fa9e7db76e48caf020b212 (diff) | |
download | iced-c4565759e4294540f54a81e4d91ddea7a769d3d4.tar.gz iced-c4565759e4294540f54a81e4d91ddea7a769d3d4.tar.bz2 iced-c4565759e4294540f54a81e4d91ddea7a769d3d4.zip |
Cleaned up namespaces re: PR comments.
Diffstat (limited to '')
-rw-r--r-- | graphics/src/triangle.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<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 3. pub indices: Vec<u32>, } |