From c1570d9f499b3fa8e45e5de386a23aef54d4f054 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 12 May 2012 22:34:20 +0000 Subject: code cleanup: missed some min/max use of float[3], also found case of DO_MIN/MAX re-reading same value from array 4 times when it can do once (use minf rather then MIN2, same for maxf) --- source/blender/editors/uvedit/uvedit_parametrizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/uvedit') diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index 5ac7bb6860c..d596c553f7e 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.c +++ b/source/blender/editors/uvedit/uvedit_parametrizer.c @@ -444,7 +444,7 @@ static float p_edge_uv_length(PEdge *e) return sqrt(d[0] * d[0] + d[1] * d[1]); } -static void p_chart_uv_bbox(PChart *chart, float *minv, float *maxv) +static void p_chart_uv_bbox(PChart *chart, float minv[2], float maxv[2]) { PVert *v; -- cgit v1.2.3