diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-15 18:11:05 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-15 18:11:05 +0400 |
commit | fb278a501e2c64f4ecba541545465975eebb8dcc (patch) | |
tree | eeacabe20da162e23751eeb8c9f277e85c50652d /source/blender/makesdna/DNA_object_force.h | |
parent | e11692bc73576ff2942f4e65b89bf75f4e29f301 (diff) |
Ensure enums in DNA files has got explicit values
See http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Macros.2C_Enums.2C_Inline_functions
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index cc212dd6d06..854087b3b5b 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -40,20 +40,20 @@ extern "C" { /* pd->forcefield: Effector Fields types */ typedef enum PFieldType { - PFIELD_NULL = 0, /* (this is used for general effector weight) */ - PFIELD_FORCE, /* Force away/towards a point depending on force strength */ - PFIELD_VORTEX, /* Force around the effector normal */ - PFIELD_MAGNET, /* Force from the cross product of effector normal and point velocity */ - PFIELD_WIND, /* Force away and towards a point depending which side of the effector */ - /* normal the point is */ - PFIELD_GUIDE, /* Force along curve for dynamics, a shaping curve for hair paths */ - PFIELD_TEXTURE, /* Force based on texture values calculated at point coordinates */ - PFIELD_HARMONIC, /* Force of a harmonic (damped) oscillator */ - PFIELD_CHARGE, /* Force away/towards a point depending on point charge */ - PFIELD_LENNARDJ, /* Force due to a Lennard-Jones potential */ - PFIELD_BOID, /* Defines predator / goal for boids */ - PFIELD_TURBULENCE, /* Force defined by BLI_gTurbulence */ - PFIELD_DRAG, /* Linear & quadratic drag */ + PFIELD_NULL = 0, /* (this is used for general effector weight) */ + PFIELD_FORCE = 1, /* Force away/towards a point depending on force strength */ + PFIELD_VORTEX = 2, /* Force around the effector normal */ + PFIELD_MAGNET = 3, /* Force from the cross product of effector normal and point velocity */ + PFIELD_WIND = 4, /* Force away and towards a point depending which side of the effector */ + /* normal the point is */ + PFIELD_GUIDE = 5, /* Force along curve for dynamics, a shaping curve for hair paths */ + PFIELD_TEXTURE = 6, /* Force based on texture values calculated at point coordinates */ + PFIELD_HARMONIC = 7, /* Force of a harmonic (damped) oscillator */ + PFIELD_CHARGE = 8, /* Force away/towards a point depending on point charge */ + PFIELD_LENNARDJ = 9, /* Force due to a Lennard-Jones potential */ + PFIELD_BOID = 10, /* Defines predator / goal for boids */ + PFIELD_TURBULENCE = 11, /* Force defined by BLI_gTurbulence */ + PFIELD_DRAG = 12, /* Linear & quadratic drag */ NUM_PFIELD_TYPES } PFieldType; |