diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-12 17:00:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-12 17:00:24 +0400 |
commit | e16ba13251701a9845adf702e60be3f2fad724bd (patch) | |
tree | 8ab57f007a995b4928410cfacda18a5c4538fc9d /source/blender/render/intern/include/pixelshading.h | |
parent | 4a9a0ec3e45c3870771e8dd44c62a05cf0d4d2d1 (diff) |
use vector size and const args where possible (no functional change)
Diffstat (limited to 'source/blender/render/intern/include/pixelshading.h')
-rw-r--r-- | source/blender/render/intern/include/pixelshading.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/include/pixelshading.h b/source/blender/render/intern/include/pixelshading.h index 0298f90c0d0..feabfea9319 100644 --- a/source/blender/render/intern/include/pixelshading.h +++ b/source/blender/render/intern/include/pixelshading.h @@ -58,10 +58,10 @@ int shadeHaloFloat(HaloRen *har, /** * Render the sky at pixel (x, y). */ -void shadeSkyPixel(float *collector, float fx, float fy, short thread); -void shadeSkyView(float *colf, float *rco, float *view, float *dxyview, short thread); +void shadeSkyPixel(float collector[4], float fx, float fy, short thread); +void shadeSkyView(float col_r[3], const float rco[3], const float view[3], const float dxyview[2], short thread); void shadeAtmPixel(struct SunSky *sunsky, float *collector, float fx, float fy, float distance); -void shadeSunView(float *colf, float *view); +void shadeSunView(float col_r[3], const float view[3]); /* ------------------------------------------------------------------------- */ #endif |