From 950ed6929792952044a57cad00833bddc8d39f45 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 28 Apr 2012 08:29:20 +0000 Subject: code cleanup: - replace inline face UV center calc. - use const float[3] for mesh and uv functions. - remove unused define --- source/blender/blenlib/intern/math_rotation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/math_rotation.c') diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c index ec5fd39cd87..bb3265bdf33 100644 --- a/source/blender/blenlib/intern/math_rotation.c +++ b/source/blender/blenlib/intern/math_rotation.c @@ -1615,7 +1615,7 @@ void normalize_dq(DualQuat *dq, float totweight) } } -void mul_v3m3_dq(float *co, float mat[][3], DualQuat *dq) +void mul_v3m3_dq(float co[3], float mat[][3], DualQuat *dq) { float M[3][3], t[3], scalemat[3][3], len2; float w = dq->quat[0], x = dq->quat[1], y = dq->quat[2], z = dq->quat[3]; -- cgit v1.2.3