Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-06 10:09:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-06 14:59:13 +0300
commit8b2810a32f094f4d95663d630700c6f147703ad6 (patch)
tree3cbb7d96817ad6ec1702aab95c7d6a74e6510fdb /source/blender/blenkernel/intern/particle_system.c
parent199c37d7e44776f382920632b334e9d21b06f6aa (diff)
Cleanup: spelling (neighbor)
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 5685e5cd05e..615870d099f 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -1958,10 +1958,10 @@ static void sphclassical_density_accum_cb(void *userdata,
pfr->data[1] += q / npa->sphdensity;
}
-static void sphclassical_neighbour_accum_cb(void *userdata,
- int index,
- const float co[3],
- float UNUSED(squared_dist))
+static void sphclassical_neighbor_accum_cb(void *userdata,
+ int index,
+ const float co[3],
+ float UNUSED(squared_dist))
{
SPHRangeData *pfr = (SPHRangeData *)userdata;
ParticleData *npa = pfr->npsys->particles + index;
@@ -2031,7 +2031,7 @@ static void sphclassical_force_cb(void *sphdata_v,
pfr.pa = pa;
sph_evaluate_func(
- NULL, psys, state->co, &pfr, interaction_radius, sphclassical_neighbour_accum_cb);
+ NULL, psys, state->co, &pfr, interaction_radius, sphclassical_neighbor_accum_cb);
pressure = stiffness * (pow7f(pa->sphdensity / rest_density) - 1.0f);
/* multiply by mass so that we return a force, not accel */