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-06-12 02:04:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-12 02:43:49 +0300
commit6529d20d79a5e55696a2fa48150055d3e4a942dd (patch)
tree314f21fd4c91f8a5558cfe34e04f6ce1e50d3c98 /source/blender/blenkernel/BKE_particle.h
parent8ce93ef6ae5169297aca67f5439503c3b25dc707 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenkernel/BKE_particle.h')
-rw-r--r--source/blender/blenkernel/BKE_particle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h
index f9bd722f8ba..164dbbbf482 100644
--- a/source/blender/blenkernel/BKE_particle.h
+++ b/source/blender/blenkernel/BKE_particle.h
@@ -103,7 +103,7 @@ typedef struct SPHData {
struct EdgeHash *eh;
float *gravity;
float hfac;
- /* Average distance to neighbours (other particles in the support domain),
+ /* Average distance to neighbors (other particles in the support domain),
* for calculating the Courant number (adaptive time step). */
int pass;
float element_size;
@@ -263,7 +263,7 @@ BLI_INLINE float psys_frand(ParticleSystem *psys, unsigned int seed)
/* XXX far from ideal, this simply scrambles particle random numbers a bit
* to avoid obvious correlations.
* Can't use previous psys->frand arrays because these require initialization
- * inside psys_check_enabled, which wreaks havok in multithreaded depgraph updates.
+ * inside psys_check_enabled, which wreaks havoc in multi-threaded depgraph updates.
*/
unsigned int offset = PSYS_FRAND_SEED_OFFSET[psys->seed % PSYS_FRAND_COUNT];
unsigned int multiplier = PSYS_FRAND_SEED_MULTIPLIER[psys->seed % PSYS_FRAND_COUNT];