diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-29 02:24:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-29 02:24:42 +0300 |
commit | 26ed5452760a097d15f02d77df31a0bcfd6fd33f (patch) | |
tree | 57ecefecb048d60b182136213ecce5a2d3585af0 /source/blender/draw/engines/eevee/eevee_lights.c | |
parent | 05588f909a6e54233778268292e22eb40f0c3bce (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_lights.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lights.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lights.c b/source/blender/draw/engines/eevee/eevee_lights.c index 44bc4653037..36ce26d3cb6 100644 --- a/source/blender/draw/engines/eevee/eevee_lights.c +++ b/source/blender/draw/engines/eevee/eevee_lights.c @@ -691,7 +691,7 @@ static void sample_ball(int sample_ofs, float radius, float rsample[3]) rsample[2] = ht_point[0] * 2.0f - 1.0f; /* cos theta */ - float r = sqrtf(fmaxf(0.0f, 1.0f - rsample[2]*rsample[2])); /* sin theta */ + float r = sqrtf(fmaxf(0.0f, 1.0f - rsample[2] * rsample[2])); /* sin theta */ rsample[0] = r * cosf(omega); rsample[1] = r * sinf(omega); @@ -742,7 +742,7 @@ static void sample_ellipse( static void shadow_cube_random_position_set( - EEVEE_Light *evli, Lamp *la, + EEVEE_Light *evli, Lamp *la, int sample_ofs, float ws_sample_pos[3]) { |