Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_scanfill.h')
-rw-r--r--source/blender/blenlib/BLI_scanfill.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_scanfill.h b/source/blender/blenlib/BLI_scanfill.h
index 8e5445b6af2..c564fce2abe 100644
--- a/source/blender/blenlib/BLI_scanfill.h
+++ b/source/blender/blenlib/BLI_scanfill.h
@@ -69,14 +69,16 @@ typedef struct ScanFillVert {
unsigned int keyindex; /* index, caller can use how it likes to match the scanfill result with own data */
unsigned short poly_nr;
unsigned char edge_tot; /* number of edges using this vertex */
- unsigned char f;
+ unsigned int f : 4; /* vert status */
+ unsigned int user_flag : 4; /* flag callers can use as they like */
} ScanFillVert;
typedef struct ScanFillEdge {
struct ScanFillEdge *next, *prev;
struct ScanFillVert *v1, *v2;
unsigned short poly_nr;
- unsigned char f;
+ unsigned int f : 4; /* edge status */
+ unsigned int user_flag : 4; /* flag callers can use as they like */
union {
unsigned char c;
} tmp;