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>2021-08-26 05:27:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-26 05:36:58 +0300
commit84f048fda566c2098ec1baa2ff1ad6c00b7395d5 (patch)
tree187bede237f476ef08d646f1e0ecc927c58b659f /source/blender/blenkernel/intern/fluid.c
parent42032db1c220e2a10d2d80879ec0037b4e12257e (diff)
Cleanup: use C style comments for descriptive text
Diffstat (limited to 'source/blender/blenkernel/intern/fluid.c')
-rw-r--r--source/blender/blenkernel/intern/fluid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c
index 799d6553682..87c1f99fd73 100644
--- a/source/blender/blenkernel/intern/fluid.c
+++ b/source/blender/blenkernel/intern/fluid.c
@@ -557,7 +557,7 @@ static bool BKE_fluid_modifier_init(
return false;
}
-// forward declaration
+/* Forward declarations. */
static void manta_smoke_calc_transparency(FluidDomainSettings *fds, ViewLayer *view_layer);
static float calc_voxel_transp(
float *result, const float *input, int res[3], int *pixel, float *t_ray, float correct);
@@ -4380,10 +4380,10 @@ static void manta_smoke_calc_transparency(FluidDomainSettings *fds, ViewLayer *v
light[2] = (light[2] - fds->p0[2]) / fds->cell_size[2] - 0.5f - (float)fds->res_min[2];
/* Calculate domain bounds in sim cell space. */
- // 0,2,4 = 0.0f
- bv[1] = (float)fds->res[0]; // x
- bv[3] = (float)fds->res[1]; // y
- bv[5] = (float)fds->res[2]; // z
+ /* 0,2,4 = 0.0f */
+ bv[1] = (float)fds->res[0]; /* X */
+ bv[3] = (float)fds->res[1]; /* Y */
+ bv[5] = (float)fds->res[2]; /* Z */
for (int z = 0; z < fds->res[2]; z++) {
size_t index = z * slabsize;