diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
commit | de6af75d4d10c2f9b3321435cb669f75f471ff70 (patch) | |
tree | 157d517fca16c709b7125d460b05cce275480720 /source/blender/render/intern/include/shading.h | |
parent | ae919658d4a371772dce7a78113f828d10efeeaa (diff) |
code cleanup: use array size and const for vector args
Diffstat (limited to 'source/blender/render/intern/include/shading.h')
-rw-r--r-- | source/blender/render/intern/include/shading.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/shading.h b/source/blender/render/intern/include/shading.h index 558342a46ab..a8519d8a7fb 100644 --- a/source/blender/render/intern/include/shading.h +++ b/source/blender/render/intern/include/shading.h @@ -96,7 +96,7 @@ ListBase *get_lights(struct ShadeInput *shi); float lamp_get_visibility(struct LampRen *lar, const float co[3], float lv[3], float *dist); void lamp_get_shadow(struct LampRen *lar, ShadeInput *shi, float inp, float shadfac[4], int do_real); -float fresnel_fac(float *view, float *vn, float fresnel, float fac); +float fresnel_fac(const float view[3], const float vn[3], float fresnel, float fac); /* rayshade.c */ extern void shade_ray(struct Isect *is, struct ShadeInput *shi, struct ShadeResult *shr); |