summaryrefslogtreecommitdiffhomepage
path: root/src/anim.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-12 11:55:26 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-12 11:55:26 +0100
commit3e3066111dd80ea7944f7897025952881b704352 (patch)
tree58915341e0427fc0267cb4a2e712f4d5233b4de5 /src/anim.hpp
parent6e8473c60655a40a09ac0d2091deaf447ba54df4 (diff)
add z component to anim_group world offset
Diffstat (limited to 'src/anim.hpp')
-rw-r--r--src/anim.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/anim.hpp b/src/anim.hpp
index 771df5d7..447c0410 100644
--- a/src/anim.hpp
+++ b/src/anim.hpp
@@ -5,6 +5,7 @@
#include <Corrade/Containers/String.h>
#include <Magnum/Magnum.h>
#include <Magnum/Math/Vector2.h>
+#include <Magnum/Math/Vector3.h>
namespace floormat {
@@ -25,7 +26,7 @@ struct anim_group final
String name;
std::vector<anim_frame> frames;
Vector2ui ground;
- Vector2b offset;
+ Vector3b offset;
};
struct anim_def final