From de6af75d4d10c2f9b3321435cb669f75f471ff70 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 26 May 2012 16:04:31 +0000 Subject: code cleanup: use array size and const for vector args --- source/blender/editors/space_view3d/drawvolume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_view3d/drawvolume.c') diff --git a/source/blender/editors/space_view3d/drawvolume.c b/source/blender/editors/space_view3d/drawvolume.c index 19cf9d9e20f..43252111303 100644 --- a/source/blender/editors/space_view3d/drawvolume.c +++ b/source/blender/editors/space_view3d/drawvolume.c @@ -146,7 +146,7 @@ static int intersect_edges(float *points, float a, float b, float c, float d, fl return numpoints; } -static int convex(float *p0, float *up, float *a, float *b) +static int convex(const float p0[3], const float up[3], const float a[3], const float b[3]) { // Vec3 va = a-p0, vb = b-p0; float va[3], vb[3], tmp[3]; -- cgit v1.2.3