Cleanup: correct & improve MLoopTri struct comment

Own previous cleanup had a grammar error and could be worded better.

Co-authored-by: Hans Goudey <hans@blender.org>
This commit is contained in:
Campbell Barton 2023-12-12 16:16:14 +11:00
parent e23b8eeb42
commit 598a48054b
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ enum {
* the array is recalculated from scratch; there is no extra attempt to maintain the validity over
* time.
*
* #MLoopTri is stored in an array, where triangles tessellated from faces stored contiguously.
* #MLoopTri is stored in an array, where triangles from each face are stored sequentially.
* The triangles order is guaranteed to match the face order where the first triangle will always
* be from the first face, and the last triangle from the last face.
* The number of triangles for each polygon is guaranteed to be the corner count - 2, even for
* degenerate geometry (see #bke::mesh::face_triangles_num).
*