diff options
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__ */ |