diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-28 04:29:47 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-28 06:41:31 +0300 |
commit | 6f305577b346030249bdb762f887136ff02624e3 (patch) | |
tree | 207b1cbba07e8a0f864ff854d6d1a74c26c6beaf /source/blender/makesdna/DNA_modifier_types.h | |
parent | 24839fdefa89339e77465c27d89c86cd5ac0cdd9 (diff) |
Cleanup: use "num" as a suffix in: source/blender/modifiers
Also rename DNA struct members.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 807a615f7f9..11825de4b33 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -617,7 +617,7 @@ typedef struct UVProjectModifierData { */ struct Object *projectors[10]; char _pad2[4]; - int num_projectors; + int projectors_num; float aspectx, aspecty; float scalex, scaley; /** MAX_CUSTOMDATA_LAYER_NAME. */ @@ -812,7 +812,7 @@ typedef struct HookModifierData { /** If NULL, it's using vertexgroup. */ int *indexar; - int totindex; + int indexar_num; float force; /** Optional vertexgroup name, MAX_VGROUP_NAME. */ char name[64]; @@ -895,7 +895,7 @@ typedef struct SurfaceModifierData { /** Bounding volume hierarchy of the mesh faces. */ struct BVHTreeFromMesh *bvhtree; - int cfra, numverts; + int cfra, verts_num; } SurfaceModifierData; typedef struct BooleanModifierData { @@ -945,7 +945,7 @@ typedef struct MDefInfluence { typedef struct MDefCell { int offset; - int totinfluence; + int influences_num; } MDefCell; typedef struct MeshDeformModifierData { @@ -967,7 +967,7 @@ typedef struct MeshDeformModifierData { /** Coordinates that cage was bound with. */ float *bindcagecos; /** Total vertices in mesh and cage. */ - int totvert, totcagevert; + int verts_num, cage_verts_num; /* result of dynamic binding */ /** Grid with dynamic binding cell points. */ @@ -979,7 +979,7 @@ typedef struct MeshDeformModifierData { /** Size of the dynamic bind grid. */ int dyngridsize; /** Total number of vertex influences. */ - int totinfluence; + int influences_num; /** Offset of the dynamic bind grid. */ float dyncellmin[3]; /** Width of dynamic bind cell. */ @@ -998,7 +998,7 @@ typedef struct MeshDeformModifierData { struct MeshDeformModifierData *mmd, struct Mesh *cagemesh, float *vertexcos, - int totvert, + int verts_num, float cagemat[4][4]); } MeshDeformModifierData; @@ -2018,7 +2018,7 @@ typedef struct LaplacianDeformModifierData { ModifierData modifier; /** MAX_VGROUP_NAME. */ char anchor_grp_name[64]; - int total_verts, repeat; + int verts_num, repeat; float *vertexco; /** Runtime only. */ void *cache_system; @@ -2201,7 +2201,7 @@ enum { typedef struct SDefBind { unsigned int *vert_inds; - unsigned int numverts; + unsigned int verts_num; int mode; float *vert_weights; float normal_dist; @@ -2210,7 +2210,7 @@ typedef struct SDefBind { typedef struct SDefVert { SDefBind *binds; - unsigned int numbinds; + unsigned int binds_num; unsigned int vertex_idx; } SDefVert; @@ -2223,7 +2223,7 @@ typedef struct SurfaceDeformModifierData { /** Vertex bind data. */ SDefVert *verts; float falloff; - unsigned int num_mesh_verts, num_bind_verts, numpoly; + unsigned int mesh_verts_num, bind_verts_num, polys_num; int flags; float mat[4][4]; float strength; |