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>2012-09-30 10:12:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-30 10:12:47 +0400
commited1cda9a6c48360ed3b69994aa1f8d2557253b92 (patch)
tree4a98a1ffee78c3a5d4bb7fcf502fd7e4fbb05fc9 /source/blender/render/intern/source/sunsky.c
parent8020b3317c904ace654d91654c46e9b9099ada1d (diff)
style cleanup
Diffstat (limited to 'source/blender/render/intern/source/sunsky.c')
-rw-r--r--source/blender/render/intern/source/sunsky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/sunsky.c b/source/blender/render/intern/source/sunsky.c
index 6a1517e19fb..94e94b98d26 100644
--- a/source/blender/render/intern/source/sunsky.c
+++ b/source/blender/render/intern/source/sunsky.c
@@ -275,7 +275,7 @@ void GetSkyXYZRadiance(struct SunSky *sunsky, float theta, float phi, float colo
/* Compute xyY values */
x = PerezFunction(sunsky, sunsky->perez_x, theta, gamma, sunsky->zenith_x);
y = PerezFunction(sunsky, sunsky->perez_y, theta, gamma, sunsky->zenith_y);
- Y = 6.666666667e-5f *nfade *hfade *PerezFunction(sunsky, sunsky->perez_Y, theta, gamma, sunsky->zenith_Y);
+ Y = 6.666666667e-5f * nfade * hfade * PerezFunction(sunsky, sunsky->perez_Y, theta, gamma, sunsky->zenith_Y);
if (sunsky->sky_exposure != 0.0f)
Y = 1.0 - exp(Y * sunsky->sky_exposure);