summaryrefslogtreecommitdiff
path: root/frontend/shared_cpp/mathlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/shared_cpp/mathlib.h')
-rw-r--r--frontend/shared_cpp/mathlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/shared_cpp/mathlib.h b/frontend/shared_cpp/mathlib.h
index b9f3fee..a08ec39 100644
--- a/frontend/shared_cpp/mathlib.h
+++ b/frontend/shared_cpp/mathlib.h
@@ -54,7 +54,7 @@ struct Vector2 {
}
Vector2 getPerp() {
- return { -y, x };
+ return { y, -x };
}
Vector2 rotate(float angle) {