summaryrefslogtreecommitdiff
path: root/battles/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-11-11 17:20:11 +0100
committerAki <please@ignore.pl>2022-11-11 17:20:11 +0100
commit53d45e11743909b8816ef95f50ac1c2b6467a3b7 (patch)
treeda8f95fd5f127ac2bb09a9662340b9877bb066d5 /battles/include
parentbd8b0a9ba1bdd68b915fed75f1e901851b340efd (diff)
downloadkurator-53d45e11743909b8816ef95f50ac1c2b6467a3b7.zip
kurator-53d45e11743909b8816ef95f50ac1c2b6467a3b7.tar.gz
kurator-53d45e11743909b8816ef95f50ac1c2b6467a3b7.tar.bz2
Changed rotation to be represented by angle
Diffstat (limited to 'battles/include')
-rw-r--r--battles/include/kurator/battles/components.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/battles/include/kurator/battles/components.h b/battles/include/kurator/battles/components.h
index 03b93a2..307acc3 100644
--- a/battles/include/kurator/battles/components.h
+++ b/battles/include/kurator/battles/components.h
@@ -14,7 +14,7 @@ namespace battles
struct Transform
{
Point position;
- Point rotation;
+ double angle;
entt::entity reference_frame = entt::null;
};