aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Draxinger <dw@optores.de>2020-01-17 10:48:13 +0100
committerWolfgang Draxinger <dw@optores.de>2020-01-17 10:48:13 +0100
commit70d7f11e45e09951f78a9d9f8dce21a5807f6f13 (patch)
tree175d116507cc5dffdeda2322123a3afe50200c72
parent6eb6a0bafa4c8ee985d46fe7b6737cf01906b348 (diff)
downloadlinmath.h-70d7f11e45e09951f78a9d9f8dce21a5807f6f13.tar.gz
linmath.h-70d7f11e45e09951f78a9d9f8dce21a5807f6f13.tar.bz2
added missing void return type to mat4x4_arcball
-rw-r--r--linmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linmath.h b/linmath.h
index 87a306d..f87849e 100644
--- a/linmath.h
+++ b/linmath.h
@@ -582,7 +582,7 @@ LINMATH_H_FUNC void quat_from_mat4x4(quat q, mat4x4 M)
q[3] = (M[p[2]][p[1]] - M[p[1]][p[2]])/(2.f*r);
}
-LINMATH_H_FUNC mat4x4_arcball(mat4x4 R, mat4x4 M, vec2 _a, vec2 _b, float s)
+LINMATH_H_FUNC void mat4x4_arcball(mat4x4 R, mat4x4 M, vec2 _a, vec2 _b, float s)
{
vec2 a; memcpy(a, _a, sizeof(a));
vec2 b; memcpy(b, _b, sizeof(b));