From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross --- src/libgeometry/quaternion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libgeometry/quaternion.c') diff --git a/src/libgeometry/quaternion.c b/src/libgeometry/quaternion.c index 1f920f5a..0da22145 100644 --- a/src/libgeometry/quaternion.c +++ b/src/libgeometry/quaternion.c @@ -10,7 +10,7 @@ * qunit(q) returns a unit quaternion parallel to q * The following only work on unit quaternions and rotation matrices: * slerp(q, r, a) returns q*(r*q^-1)^a - * qmid(q, r) slerp(q, r, .5) + * qmid(q, r) slerp(q, r, .5) * qsqrt(q) qmid(q, (Quaternion){1,0,0,0}) * qtom(m, q) converts a unit quaternion q into a rotation matrix m * mtoq(m) returns a quaternion equivalent to a rotation matrix m @@ -93,7 +93,7 @@ Quaternion mtoq(Matrix mat){ */ Quaternion qu; double tr, s; - + tr = mat[0][0] + mat[1][1] + mat[2][2]; if (tr >= 0.0) { s = sqrt(tr + mat[3][3]); -- cgit v1.2.3