summaryrefslogtreecommitdiffhomepage
path: root/src/anim-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-05 19:54:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-05 19:54:08 +0100
commitb97413c5561a59acac86e053a1aa8bd7905456f2 (patch)
treec4982073679119e88df44d65a42975560ff2082f /src/anim-atlas.cpp
parent141ecedcacda8fa094a22da067fe24423f0d6f38 (diff)
a
Diffstat (limited to 'src/anim-atlas.cpp')
-rw-r--r--src/anim-atlas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/anim-atlas.cpp b/src/anim-atlas.cpp
index 2e4361df..c5a54a3d 100644
--- a/src/anim-atlas.cpp
+++ b/src/anim-atlas.cpp
@@ -41,6 +41,7 @@ anim_atlas& anim_atlas::operator=(anim_atlas&&) noexcept = default;
StringView anim_atlas::name() const noexcept { return _name; }
GL::Texture2D& anim_atlas::texture() noexcept { return _tex; }
const Serialize::anim& anim_atlas::info() const noexcept { return _info; }
+Vector2ui anim_atlas::pixel_size() const noexcept { return _pixel_size; }
auto anim_atlas::group(rotation r) const noexcept -> const anim_group&
{