diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:10:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:12:53 +0300 |
commit | 0547a7753643f45861306542857d97215ecb2c4f (patch) | |
tree | 1faad834721f7f13d4a0756bd80607963386fccd /source/blender/blenkernel/intern/particle_system.c | |
parent | d30ec73d763ed01795100ec5d3a0ef9dc8521f7b (diff) |
Cleanup: use const args, variables
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 2655382021a..43484a57f1c 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -1695,7 +1695,7 @@ typedef struct SPHRangeData { static void sph_evaluate_func(BVHTree *tree, ParticleSystem **psys, - float co[3], + const float co[3], SPHRangeData *pfr, float interaction_radius, BVHTree_RangeQuery callback) @@ -2497,7 +2497,7 @@ static float collision_point_distance_with_normal( return 0; } static void collision_point_on_surface( - float p[3], ParticleCollisionElement *pce, float fac, ParticleCollision *col, float *co) + const float p[3], ParticleCollisionElement *pce, float fac, ParticleCollision *col, float *co) { collision_interpolate_element(pce, 0.f, fac, col); |