Blender V5.0
JoinEdgesNeighborInfo Struct Reference

Public Attributes

JoinEdgesNeighborItem items [8]
int items_num

Detailed Description

Definition at line 464 of file bmo_join_triangles.cc.

Member Data Documentation

◆ items

JoinEdgesNeighborItem JoinEdgesNeighborInfo::items[8]

Logically there can only ever be 8 items in this array.

Since a quad has no more than 4 neighbor triangles, and each neighbor triangle has no more than two edges to consider, reprioritize_face_neighbors can't possibly call this function more than 8 times so this can't happen. Still, it's good to safeguard against running off the end of the array.

Definition at line 472 of file bmo_join_triangles.cc.

Referenced by add_without_duplicates(), and reprioritize_face_neighbors().

◆ items_num

int JoinEdgesNeighborInfo::items_num

The documentation for this struct was generated from the following file: