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 /source/blender/editors/include/ED_transverts.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 'source/blender/editors/include/ED_transverts.h')
-rw-r--r-- | source/blender/editors/include/ED_transverts.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/editors/include/ED_transverts.h b/source/blender/editors/include/ED_transverts.h index d03cd0151a6..3460aae32c0 100644 --- a/source/blender/editors/include/ED_transverts.h +++ b/source/blender/editors/include/ED_transverts.h @@ -27,16 +27,16 @@ struct Object; typedef struct TransVert { - float *loc; - float oldloc[3], maploc[3]; - float normal[3]; - int flag; + float *loc; + float oldloc[3], maploc[3]; + float normal[3]; + int flag; } TransVert; typedef struct TransVertStore { - struct TransVert *transverts; - int transverts_tot; - int mode; + struct TransVert *transverts; + int transverts_tot; + int mode; } TransVertStore; void ED_transverts_create_from_obedit(TransVertStore *tvs, struct Object *obedit, const int mode); @@ -47,25 +47,25 @@ bool ED_transverts_poll(struct bContext *C); /* currently only used for bmesh index values */ enum { - TM_INDEX_ON = 1, /* tag to make trans verts */ - TM_INDEX_OFF = 0, /* don't make verts */ - TM_INDEX_SKIP = -1, /* dont make verts (when the index values point to trans-verts) */ + TM_INDEX_ON = 1, /* tag to make trans verts */ + TM_INDEX_OFF = 0, /* don't make verts */ + TM_INDEX_SKIP = -1, /* dont make verts (when the index values point to trans-verts) */ }; /* mode flags: */ enum { - /** all joints (for bones only) */ - TM_ALL_JOINTS = (1 << 0), - /** skip handles when control point is selected (for curves only) */ - TM_SKIP_HANDLES = (1 << 1), - /** fill in normals when available */ - TM_CALC_NORMALS = (1 << 2), + /** all joints (for bones only) */ + TM_ALL_JOINTS = (1 << 0), + /** skip handles when control point is selected (for curves only) */ + TM_SKIP_HANDLES = (1 << 1), + /** fill in normals when available */ + TM_CALC_NORMALS = (1 << 2), }; enum { - /* SELECT == (1 << 0) */ - TX_VERT_USE_MAPLOC = (1 << 1), - TX_VERT_USE_NORMAL = (1 << 2), /* avoid nonzero check */ + /* SELECT == (1 << 0) */ + TX_VERT_USE_MAPLOC = (1 << 1), + TX_VERT_USE_NORMAL = (1 << 2), /* avoid nonzero check */ }; -#endif /* __ED_TRANSVERTS_H__ */ +#endif /* __ED_TRANSVERTS_H__ */ |