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/volumetric.h | |
parent | 4a9a0ec3e45c3870771e8dd44c62a05cf0d4d2d1 (diff) |
use vector size and const args where possible (no functional change)
Diffstat (limited to 'source/blender/render/intern/include/volumetric.h')
-rw-r--r-- | source/blender/render/intern/include/volumetric.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/include/volumetric.h b/source/blender/render/intern/include/volumetric.h index a2d1821a62b..87d74de9134 100644 --- a/source/blender/render/intern/include/volumetric.h +++ b/source/blender/render/intern/include/volumetric.h @@ -35,8 +35,8 @@ struct Isect; struct ShadeInput; struct ShadeResult; -float vol_get_density(struct ShadeInput *shi, float *co); -void vol_get_scattering(ShadeInput *shi, float *scatter_col, float *co_, float *view); +float vol_get_density(struct ShadeInput *shi, const float co[3]); +void vol_get_scattering(ShadeInput *shi, float scatter_col[3], const float co[3], const float view[3]); void shade_volume_outside(ShadeInput *shi, ShadeResult *shr); void shade_volume_inside(ShadeInput *shi, ShadeResult *shr); |