Cleanup: replace typedef structs with structs.
This commit is contained in:
@@ -36,13 +36,13 @@ namespace blender::draw {
|
||||
|
||||
#define NO_EDGE INT_MAX
|
||||
|
||||
typedef struct MeshExtract_LineAdjacency_Data {
|
||||
struct MeshExtract_LineAdjacency_Data {
|
||||
GPUIndexBufBuilder elb;
|
||||
EdgeHash *eh;
|
||||
bool is_manifold;
|
||||
/* Array to convert vert index to any loop index of this vert. */
|
||||
uint vert_to_loop[0];
|
||||
} MeshExtract_LineAdjacency_Data;
|
||||
};
|
||||
|
||||
static void *extract_lines_adjacency_init(const MeshRenderData *mr,
|
||||
struct MeshBatchCache *UNUSED(cache),
|
||||
|
@@ -34,11 +34,11 @@ namespace blender::draw {
|
||||
/** \name Extract Paint Mask Line Indices
|
||||
* \{ */
|
||||
|
||||
typedef struct MeshExtract_LinePaintMask_Data {
|
||||
struct MeshExtract_LinePaintMask_Data {
|
||||
GPUIndexBufBuilder elb;
|
||||
/** One bit per edge set if face is selected. */
|
||||
BLI_bitmap select_map[0];
|
||||
} MeshExtract_LinePaintMask_Data;
|
||||
};
|
||||
|
||||
static void *extract_lines_paint_mask_init(const MeshRenderData *mr,
|
||||
struct MeshBatchCache *UNUSED(cache),
|
||||
|
Reference in New Issue
Block a user