aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cube/linmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cube/linmath.h b/cube/linmath.h
index 5abe1827..6df1d7ee 100644
--- a/cube/linmath.h
+++ b/cube/linmath.h
@@ -601,7 +601,7 @@ LINMATH_H_FUNC void mat4x4_arcball(mat4x4 R, mat4x4 const M, vec2 const _a, vec2
vec3 c_;
vec3_mul_cross(c_, a_, b_);
- float const angle = acos(vec3_mul_inner(a_, b_)) * s;
+ float const angle = acosf(vec3_mul_inner(a_, b_)) * s;
mat4x4_rotate(R, M, c_[0], c_[1], c_[2], angle);
}