From d94df18550702a9df7b56feb5d58fb20effb7536 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 5 Jun 2018 15:54:12 +0200 Subject: Cleanup: doxy grouping for mesh runtime API --- source/blender/blenkernel/intern/mesh_runtime.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/mesh_runtime.c b/source/blender/blenkernel/intern/mesh_runtime.c index c8416811694..42b8824a204 100644 --- a/source/blender/blenkernel/intern/mesh_runtime.c +++ b/source/blender/blenkernel/intern/mesh_runtime.c @@ -42,6 +42,9 @@ #include "BKE_bvhutils.h" #include "BKE_mesh.h" +/* -------------------------------------------------------------------- */ +/** \name Mesh Runtime Struct Utils + * \{ */ static ThreadRWMutex loops_cache_lock = PTHREAD_RWLOCK_INITIALIZER; @@ -145,8 +148,9 @@ const MLoopTri *BKE_mesh_runtime_looptri_ensure(Mesh *mesh) } /* This is a copy of DM_verttri_from_looptri(). */ -void BKE_mesh_runtime_verttri_from_looptri(MVertTri *r_verttri, const MLoop *mloop, - const MLoopTri *looptri, int looptri_num) +void BKE_mesh_runtime_verttri_from_looptri( + MVertTri *r_verttri, const MLoop *mloop, + const MLoopTri *looptri, int looptri_num) { int i; for (i = 0; i < looptri_num; i++) { @@ -192,6 +196,12 @@ void BKE_mesh_runtime_clear_geometry(Mesh *mesh) MEM_SAFE_FREE(mesh->runtime.looptris.array); } +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Mesh Batch Cache Callbacks + * \{ */ + /* Draw Engine */ void (*BKE_mesh_batch_cache_dirty_cb)(Mesh *me, int mode) = NULL; void (*BKE_mesh_batch_cache_free_cb)(Mesh *me) = NULL; @@ -208,3 +218,5 @@ void BKE_mesh_batch_cache_free(Mesh *me) BKE_mesh_batch_cache_free_cb(me); } } + +/** \} */ -- cgit v1.2.3