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:
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 862ebf43913..060a9b4d794 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -2001,7 +2001,7 @@ static void sphclassical_force_cb(void *sphdata_v,
/* 4.77 is an experimentally determined density factor */
float rest_density = fluid->rest_density * (fluid->flag & SPH_FAC_DENSITY ? 4.77f : 1.0f);
- // Use speed of sound squared
+ /* Use speed of sound squared */
float stiffness = pow2f(fluid->stiffness_k);
ParticleData *npa;
@@ -2118,7 +2118,7 @@ void psys_sph_init(ParticleSimulationData *sim, SPHData *sphdata)
BLI_buffer_field_init(&sphdata->new_springs, ParticleSpring);
- // Add other coupled particle systems.
+ /* Add other coupled particle systems. */
sphdata->psys[0] = sim->psys;
for (i = 1, pt = sim->psys->targets.first; i < 10; i++, pt = (pt ? pt->next : NULL)) {
sphdata->psys[i] = pt ? psys_get_target_system(sim->ob, pt) : NULL;
@@ -2132,8 +2132,8 @@ void psys_sph_init(ParticleSimulationData *sim, SPHData *sphdata)
}
sphdata->eh = sph_springhash_build(sim->psys);
- // These per-particle values should be overridden later, but just for
- // completeness we give them default values now.
+ /* These per-particle values should be overridden later, but just for
+ * completeness we give them default values now. */
sphdata->pa = NULL;
sphdata->mass = 1.0f;