From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: 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 --- source/blender/makesdna/DNA_lattice_types.h | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'source/blender/makesdna/DNA_lattice_types.h') diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h index ca0136522c1..3864593158d 100644 --- a/source/blender/makesdna/DNA_lattice_types.h +++ b/source/blender/makesdna/DNA_lattice_types.h @@ -36,46 +36,46 @@ struct MDeformVert; # # typedef struct EditLatt { - struct Lattice *latt; + struct Lattice *latt; - int shapenr; + int shapenr; } EditLatt; typedef struct Lattice { - ID id; - struct AnimData *adt; + ID id; + struct AnimData *adt; - short pntsu, pntsv, pntsw, flag; - short opntsu, opntsv, opntsw; - char _pad2[3]; - char typeu, typev, typew; - /** Active element index, unset with LT_ACTBP_NONE. */ - int actbp; + short pntsu, pntsv, pntsw, flag; + short opntsu, opntsv, opntsw; + char _pad2[3]; + char typeu, typev, typew; + /** Active element index, unset with LT_ACTBP_NONE. */ + int actbp; - float fu, fv, fw, du, dv, dw; + float fu, fv, fw, du, dv, dw; - struct BPoint *def; + struct BPoint *def; - /** Old animation system, deprecated for 2.5. */ - struct Ipo *ipo DNA_DEPRECATED; - struct Key *key; + /** Old animation system, deprecated for 2.5. */ + struct Ipo *ipo DNA_DEPRECATED; + struct Key *key; - struct MDeformVert *dvert; - /** Multiply the influence, MAX_VGROUP_NAME. */ - char vgroup[64]; + struct MDeformVert *dvert; + /** Multiply the influence, MAX_VGROUP_NAME. */ + char vgroup[64]; - struct EditLatt *editlatt; - void *batch_cache; + struct EditLatt *editlatt; + void *batch_cache; } Lattice; /* ***************** LATTICE ********************* */ /* flag */ -#define LT_GRID 1 -#define LT_OUTSIDE 2 +#define LT_GRID 1 +#define LT_OUTSIDE 2 -#define LT_DS_EXPAND 4 +#define LT_DS_EXPAND 4 -#define LT_ACTBP_NONE -1 +#define LT_ACTBP_NONE -1 #endif -- cgit v1.2.3