diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/dualcon/dualcon.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
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: |