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/shadbuf.h | |
parent | 4a9a0ec3e45c3870771e8dd44c62a05cf0d4d2d1 (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.h | 4 |
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 |