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-10-15 13:11:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-15 13:11:17 +0400
commitda9394f596acba3e93c77479a9906580cddf45d1 (patch)
treed85850273525c38ee78355eeddc1f061ae18a354 /source/blender/render/intern/include/sunsky.h
parentabff7cac7e0c682bba013036418cc3ea384d74de (diff)
code cleanup: define sizes of vectors for function args and use C style comments
Diffstat (limited to 'source/blender/render/intern/include/sunsky.h')
-rw-r--r--source/blender/render/intern/include/sunsky.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/sunsky.h b/source/blender/render/intern/include/sunsky.h
index 74e42109be5..04aff810bbb 100644
--- a/source/blender/render/intern/include/sunsky.h
+++ b/source/blender/render/intern/include/sunsky.h
@@ -69,7 +69,7 @@ typedef struct SunSky {
float atm_BetaRM[3];
} SunSky;
-void InitSunSky(struct SunSky *sunsky, float turb, float *toSun, float horizon_brightness,
+void InitSunSky(struct SunSky *sunsky, float turb, const float toSun[3], float horizon_brightness,
float spread, float sun_brightness, float sun_size, float back_scatter,
float skyblendfac, short skyblendtype, float sky_exposure, float sky_colorspace);