aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2019-12-27 23:15:46 -0500
committerFranklin Wei <franklin@rockbox.org>2019-12-27 23:15:46 -0500
commit960798bb86127fcb0375b4679bb980ab8af8ee65 (patch)
treea7686e03ef7e6cc32bd3e4bee2541a998d6bb33e
parentf4ef47ad0bf497a1ed01565f8dbc2a7c3e71255a (diff)
downloadlibfml-960798bb86127fcb0375b4679bb980ab8af8ee65.zip
libfml-960798bb86127fcb0375b4679bb980ab8af8ee65.tar.gz
libfml-960798bb86127fcb0375b4679bb980ab8af8ee65.tar.bz2
libfml-960798bb86127fcb0375b4679bb980ab8af8ee65.tar.xz
Fix dumb.HEADmaster
-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);
}