From 181ad14d537d75a97a8d830d70f7d9486f26ee1d Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 20 Nov 2022 15:50:04 +0100 Subject: FloatingMovment now changes angle when updating --- battles/include/kurator/battles/Point.h | 1 + 1 file changed, 1 insertion(+) (limited to 'battles/include') 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; -- cgit v1.1