diff options
Diffstat (limited to 'intern/dualcon/dualcon.h')
-rw-r--r-- | intern/dualcon/dualcon.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/intern/dualcon/dualcon.h b/intern/dualcon/dualcon.h index 4e84e60154d..e9bff72a1ce 100644 --- a/intern/dualcon/dualcon.h +++ b/intern/dualcon/dualcon.h @@ -29,22 +29,22 @@ typedef float (*DualConCo)[3]; typedef unsigned int (*DualConTri)[3]; -typedef unsigned int (*DualConLoop); +typedef unsigned int(*DualConLoop); typedef struct DualConInput { - DualConLoop mloop; + DualConLoop mloop; - DualConCo co; - int co_stride; - int totco; + DualConCo co; + int co_stride; + int totco; - DualConTri looptri; - int tri_stride; - int tottri; + DualConTri looptri; + int tri_stride; + int tottri; - int loop_stride; + int loop_stride; - float min[3], max[3]; + float min[3], max[3]; } DualConInput; /* callback for allocating memory for output */ @@ -55,16 +55,16 @@ typedef void (*DualConAddVert)(void *output, const float co[3]); typedef void (*DualConAddQuad)(void *output, const int vert_indices[4]); typedef enum { - DUALCON_FLOOD_FILL = 1, + DUALCON_FLOOD_FILL = 1, } DualConFlags; typedef enum { - /* blocky */ - DUALCON_CENTROID, - /* smooth */ - DUALCON_MASS_POINT, - /* keeps sharp edges */ - DUALCON_SHARP_FEATURES, + /* blocky */ + DUALCON_CENTROID, + /* smooth */ + DUALCON_MASS_POINT, + /* keeps sharp edges */ + DUALCON_SHARP_FEATURES, } DualConMode; /* Usage: |