From ee192a35e8a0122e39c3d4d12eb62a2e26344ca7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 29 Apr 2019 22:04:24 +1000 Subject: Cleanup: comments (long lines) in bmesh --- source/blender/bmesh/bmesh_class.h | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'source/blender/bmesh/bmesh_class.h') diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h index 2cc5b1b8097..8349dee06e2 100644 --- a/source/blender/bmesh/bmesh_class.h +++ b/source/blender/bmesh/bmesh_class.h @@ -23,7 +23,8 @@ /* bmesh data structures */ -/* dissable holes for now, these are ifdef'd because they use more memory and cant be saved in DNA currently */ +/* dissable holes for now, + * these are ifdef'd because they use more memory and cant be saved in DNA currently */ // #define USE_BMESH_HOLES struct BMEdge; @@ -98,10 +99,12 @@ typedef struct BMVert { float co[3]; /* vertex coordinates */ float no[3]; /* vertex normal */ - /* pointer to (any) edge using this vertex (for disk cycles) + /** + * Pointer to (any) edge using this vertex (for disk cycles). * - * note: some higher level functions set this to different edges that use this vertex, - * which is a bit of an abuse of internal bmesh data but also works OK for now (use with care!). + * \note Some higher level functions set this to different edges that use this vertex, + * which is a bit of an abuse of internal bmesh data but also works OK for now + * (use with care!). */ struct BMEdge *e; } BMVert; @@ -125,8 +128,12 @@ typedef struct BMEdge { * to access the other loops using the edge */ struct BMLoop *l; - /* disk cycle pointers - * relative data: d1 indicates indicates the next/prev edge around vertex v1 and d2 does the same for v2 */ + /** + * Disk Cycle Pointers + * + * relative data: d1 indicates indicates the next/prev + * edge around vertex v1 and d2 does the same for v2. + */ BMDiskLink v1_disk_link, v2_disk_link; } BMEdge; @@ -281,7 +288,10 @@ typedef struct BMLoopNorEditData { typedef struct BMLoopNorEditDataArray { BMLoopNorEditData *lnor_editdata; - /* This one has full amount of loops, used to map loop index to actual BMLoopNorEditData struct. */ + /** + * This one has full amount of loops, + * used to map loop index to actual BMLoopNorEditData struct. + */ BMLoopNorEditData **lidx_to_lnor_editdata; int cd_custom_normal_offset; -- cgit v1.2.3