diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-28 05:06:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-28 05:06:43 +0400 |
commit | c9e1ced4ddc9c801bdd68cc1ac6f5e99768fe108 (patch) | |
tree | 644489fcbb0951ec2029fee42b459ed42a09d54c /source/blender/blenkernel/intern/implicit.c | |
parent | 48afa89dd2a2d9126a1f8d85ca49bee0b1c6c300 (diff) |
code cleanup: (dont include ';' in defines), last commit also missed changes to paint_image.c
Diffstat (limited to 'source/blender/blenkernel/intern/implicit.c')
-rw-r--r-- | source/blender/blenkernel/intern/implicit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/implicit.c b/source/blender/blenkernel/intern/implicit.c index 32bdac9d35e..23aa03b0331 100644 --- a/source/blender/blenkernel/intern/implicit.c +++ b/source/blender/blenkernel/intern/implicit.c @@ -1421,7 +1421,7 @@ typedef struct HairGridVert { float velocity[3]; float density; } HairGridVert; -#define HAIR_GRID_INDEX(vec, min, max, axis) (int)( (vec[axis] - min[axis]) / (max[axis] - min[axis]) * 9.99f ); +#define HAIR_GRID_INDEX(vec, min, max, axis) (int)((vec[axis] - min[axis]) / (max[axis] - min[axis]) * 9.99f) /* Smoothing of hair velocities: * adapted from Volumetric Methods for Simulation and Rendering of Hair |