summaryrefslogtreecommitdiff
path: root/battles/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-11-20 15:50:04 +0100
committerAki <please@ignore.pl>2022-11-20 15:50:04 +0100
commit181ad14d537d75a97a8d830d70f7d9486f26ee1d (patch)
tree534dd05df7e20d5e3a7e7b2558a88ee37f70f6ef /battles/include
parentb4b20596af5a61088d7085d562bfdaef2c093578 (diff)
downloadkurator-181ad14d537d75a97a8d830d70f7d9486f26ee1d.zip
kurator-181ad14d537d75a97a8d830d70f7d9486f26ee1d.tar.gz
kurator-181ad14d537d75a97a8d830d70f7d9486f26ee1d.tar.bz2
FloatingMovment now changes angle when updating
Diffstat (limited to 'battles/include')
-rw-r--r--battles/include/kurator/battles/Point.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/battles/include/kurator/battles/Point.h b/battles/include/kurator/battles/Point.h
index b6be651..ba9ab63 100644
--- a/battles/include/kurator/battles/Point.h
+++ b/battles/include/kurator/battles/Point.h
@@ -13,6 +13,7 @@ struct Point
double y;
double magnitude() const;
double distance(const Point& other) const;
+ double angle() const;
Point rotate(double angle) const;
Point scale(double _scale) const;
Point normalized() const;