From 1f58bfb8bebf207d3020ff474ac5e018c8179f25 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 30 Mar 2014 11:08:33 +1100 Subject: Code cleanup: de-duplicate cotangent weight function & add arg sizes --- source/blender/blenlib/intern/noise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/noise.c') diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index 982a74b1ffd..f002ea54b32 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -1407,7 +1407,7 @@ float cellNoise(float x, float y, float z) } /* returns a vector/point/color in ca, using point hasharray directly */ -void cellNoiseV(float x, float y, float z, float *ca) +void cellNoiseV(float x, float y, float z, float ca[3]) { int xi = (int)(floor(x)); int yi = (int)(floor(y)); -- cgit v1.2.3