summaryrefslogtreecommitdiff
path: root/shared_cpp/mathlib.h
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-02-26 19:19:20 -0500
committermattkae <mattkae@protonmail.com>2022-02-26 19:19:20 -0500
commit8d4c5116719825dce6222c494cd384fe1df775de (patch)
tree6172ecff01946ba38d668d73dd54426b7dd1b094 /shared_cpp/mathlib.h
parent8dc353535fda6133ff120933072e725375c42afb (diff)
Actual working springy rectangle
Diffstat (limited to 'shared_cpp/mathlib.h')
-rw-r--r--shared_cpp/mathlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared_cpp/mathlib.h b/shared_cpp/mathlib.h
index 9722f4f..f89addc 100644
--- a/shared_cpp/mathlib.h
+++ b/shared_cpp/mathlib.h
@@ -53,6 +53,7 @@ struct Vector2 {
Vector2 negate();
Vector2 getPerp();
Vector2 rotate(float angle);
+ Vector2 rotateAround(float angle, const Vector2& other);
float determinant(Vector2 other);
void printDebug(const char* name);