aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vec2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vec2.cpp b/src/vec2.cpp
index ca26a08..509a519 100644
--- a/src/vec2.cpp
+++ b/src/vec2.cpp
@@ -73,7 +73,7 @@ namespace fml {
}
vec2 vec2::rotateby(scalar angle) {
double s, c;
- sincos(angle, &s, c);
+ sincos(angle, &s, &c);
return vec2(v[0] * c - v[1] * s,
v[0] * s + v[1] * c);
}