diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-04 08:35:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-04 08:35:12 +0400 |
commit | f6ae27daef0e0a27e0c14ef3412161eec229c539 (patch) | |
tree | 00001b4c738d9dbba104a49de15d566dfe82b345 /source/blender/render | |
parent | 4f2976941fd7284c85e89c1de5038805e62a5c99 (diff) |
style cleanup - comment spelling + translate some dutch.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/shadeinput.c | 2 | ||||
-rw-r--r-- | source/blender/render/intern/source/volume_precache.c | 2 | ||||
-rw-r--r-- | source/blender/render/intern/source/volumetric.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/shadeinput.c b/source/blender/render/intern/source/shadeinput.c index dd9e1df95cd..74a4511b0dc 100644 --- a/source/blender/render/intern/source/shadeinput.c +++ b/source/blender/render/intern/source/shadeinput.c @@ -294,7 +294,7 @@ void shade_input_set_triangle_i(ShadeInput *shi, ObjectInstanceRen *obi, VlakRen } } -/* note, facenr declared volatile due to over-eager -O2 optimizations +/* note, facenr declared volatile due to over-eager -O2 optimization's * on cygwin (particularly -frerun-cse-after-loop) */ diff --git a/source/blender/render/intern/source/volume_precache.c b/source/blender/render/intern/source/volume_precache.c index 8b3c3ec5c3d..c0723518880 100644 --- a/source/blender/render/intern/source/volume_precache.c +++ b/source/blender/render/intern/source/volume_precache.c @@ -284,7 +284,7 @@ static inline int lc_to_ms_I(int x, int y, int z, int *n) /* *** multiple scattering approximation *** */ -/* get the total amount of light energy in the light cache. used to normalise after multiple scattering */ +/* get the total amount of light energy in the light cache. used to normalize after multiple scattering */ static float total_ss_energy(Render *re, int do_test_break, VolumePrecache *vp) { int x, y, z; diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c index 66cbb18bc57..d45aee8ccf1 100644 --- a/source/blender/render/intern/source/volumetric.c +++ b/source/blender/render/intern/source/volumetric.c @@ -365,7 +365,7 @@ static float vol_get_phasefunc(ShadeInput *UNUSED(shi), float g, const float w[3 const float normalize = 0.25f; // = 1.f/4.f = M_PI/(4.f*M_PI) /* normalization constant is 1/4 rather than 1/4pi, since - * Blender's shading system doesn't normalise for + * Blender's shading system doesn't normalize for * energy conservation - eg. multiplying by pdf ( 1/pi for a lambert brdf ). * This means that lambert surfaces in Blender are pi times brighter than they 'should be' * and therefore, with correct energy conservation, volumes will darker than other solid objects, |