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>2011-09-12 17:00:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-12 17:00:24 +0400
commite16ba13251701a9845adf702e60be3f2fad724bd (patch)
tree8ab57f007a995b4928410cfacda18a5c4538fc9d /source/blender/render/intern/include/shadbuf.h
parent4a9a0ec3e45c3870771e8dd44c62a05cf0d4d2d1 (diff)
use vector size and const args where possible (no functional change)
Diffstat (limited to 'source/blender/render/intern/include/shadbuf.h')
-rw-r--r--source/blender/render/intern/include/shadbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/include/shadbuf.h b/source/blender/render/intern/include/shadbuf.h
index 2dca9963e4f..5bed39db3e9 100644
--- a/source/blender/render/intern/include/shadbuf.h
+++ b/source/blender/render/intern/include/shadbuf.h
@@ -59,13 +59,13 @@ void threaded_makeshadowbufs(struct Render *re);
* @param inp The inproduct between viewvector and ?
*
*/
-float testshadowbuf(struct Render *re, struct ShadBuf *shb, float *rco, float *dxco, float *dyco, float inp, float mat_bias);
+float testshadowbuf(struct Render *re, struct ShadBuf *shb, const float rco[3], const float dxco[3], const float dyco[3], float inp, float mat_bias);
/**
* Determines the shadow factor for lamp <lar>, between <p1>
* and <p2>. (Which CS?)
*/
-float shadow_halo(LampRen *lar, float *p1, float *p2);
+float shadow_halo(LampRen *lar, const float p1[3], const float p2[3]);
/**
* Irregular shadowbuffer