Cleanup: Fix outdated comments about Mesh data
This commit is contained in:
parent
73e7023c71
commit
3ce8c74a57
@ -92,7 +92,7 @@ BVHTree *bvhtree_from_mesh_edges_ex(BVHTreeFromMesh *data,
|
||||
int axis);
|
||||
|
||||
/**
|
||||
* Builds a BVH-tree where nodes are the triangle faces (#MLoopTri) of the given mesh.
|
||||
* Builds a BVH-tree where nodes are the triangle faces (#Mesh::corner_tris()) of the given mesh.
|
||||
*/
|
||||
BVHTree *bvhtree_from_mesh_corner_tris_ex(BVHTreeFromMesh *data,
|
||||
blender::Span<blender::float3> vert_positions,
|
||||
|
@ -31,8 +31,7 @@ struct Scene;
|
||||
* and various data that doesn't belong in the #BMesh struct itself
|
||||
* (mostly related to mesh evaluation).
|
||||
*
|
||||
* The entire modifier system works with this structure, and not #BMesh.
|
||||
* #Mesh.edit_bmesh stores a pointer to this structure.
|
||||
* #Mesh.runtime.edit_mesh stores a pointer to this structure.
|
||||
*/
|
||||
struct BMEditMesh {
|
||||
BMesh *bm;
|
||||
@ -41,7 +40,7 @@ struct BMEditMesh {
|
||||
* Face triangulation (tessellation) is stored as triplets of three loops,
|
||||
* which each define a triangle.
|
||||
*
|
||||
* \see #MLoopTri as the documentation gives useful hints that apply to this data too.
|
||||
* \see #Mesh::corner_tris() as the documentation gives useful hints that apply to this data too.
|
||||
*/
|
||||
BMLoop *(*looptris)[3];
|
||||
int tottri;
|
||||
|
@ -817,7 +817,7 @@ void BKE_mesh_do_versions_convert_mfaces_to_mpolys(Mesh *mesh)
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name MFace Tessellation
|
||||
*
|
||||
* #MFace is a legacy data-structure that should be avoided, use #MLoopTri instead.
|
||||
* #MFace is a legacy data-structure that should be avoided, use #Mesh::corner_tris() instead.
|
||||
* \{ */
|
||||
|
||||
#define MESH_MLOOPCOL_TO_MCOL(_mloopcol, _mcol) \
|
||||
|
Loading…
Reference in New Issue
Block a user