diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-15 13:11:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-15 13:11:17 +0400 |
commit | da9394f596acba3e93c77479a9906580cddf45d1 (patch) | |
tree | d85850273525c38ee78355eeddc1f061ae18a354 /source/blender/render/intern/include/texture_ocean.h | |
parent | abff7cac7e0c682bba013036418cc3ea384d74de (diff) |
code cleanup: define sizes of vectors for function args and use C style comments
Diffstat (limited to 'source/blender/render/intern/include/texture_ocean.h')
-rw-r--r-- | source/blender/render/intern/include/texture_ocean.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/texture_ocean.h b/source/blender/render/intern/include/texture_ocean.h index 7d4110aadf3..121142aa0b0 100644 --- a/source/blender/render/intern/include/texture_ocean.h +++ b/source/blender/render/intern/include/texture_ocean.h @@ -23,4 +23,9 @@ * ***** END GPL LICENSE BLOCK ***** */ -int ocean_texture(struct Tex *tex, float *texvec, struct TexResult *texres); +#ifndef __TEXTURE_OCEAN_H__ +#define __TEXTURE_OCEAN_H__ + +int ocean_texture(struct Tex *tex, const float texvec[2], struct TexResult *texres); + +#endif /* __TEXTURE_OCEAN_H__ */ |