diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-10-13 23:02:30 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-10-13 23:02:30 +0400 |
commit | 3b805af8af82d473bbcdd7809c43374995e005e6 (patch) | |
tree | caab63f6e3d5e5b6e1e9e98c87616683bf2e2a59 /source/blender/blenlib/intern/arithb.c | |
parent | e3d8c8eba855b0c97d71b83b33c93f99f99c7941 (diff) |
Various warning fixes
Diffstat (limited to 'source/blender/blenlib/intern/arithb.c')
-rw-r--r-- | source/blender/blenlib/intern/arithb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c index 26bbbf040f3..6c9ae78bac4 100644 --- a/source/blender/blenlib/intern/arithb.c +++ b/source/blender/blenlib/intern/arithb.c @@ -2151,7 +2151,7 @@ int VecLen( int *v1, int *v2) return (int)floor(sqrt(x*x+y*y+z*z)); } -float VecLenf( float *v1, float *v2) +float VecLenf(float v1[3], float v2[3]) { float x,y,z; @@ -5131,7 +5131,7 @@ int point_in_tri_prism(float p[3], float v1[3], float v2[3], float v3[3]) } /* point closest to v1 on line v2-v3 in 3D */ -void PclosestVL3Dfl(float *closest, float *v1, float *v2, float *v3) +void PclosestVL3Dfl(float *closest, float v1[3], float v2[3], float v3[3]) { float lambda, cp[3]; |