diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-27 11:47:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-27 12:37:23 +0100 |
commit | eb31b6d25af2b707f04fe71fb70341c889645101 (patch) | |
tree | 8943b405a617467cae734030ad830a6c598febd2 /src | |
parent | 942245397e6c2f3e6642b29a3be2cae999aab16d (diff) |
test: add sprite bitmap test
Diffstat (limited to 'src')
-rw-r--r-- | src/anim-atlas.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp index d8105813..eaddef21 100644 --- a/src/anim-atlas.hpp +++ b/src/anim-atlas.hpp @@ -48,6 +48,8 @@ struct anim_atlas final fm_DECLARE_DELETED_COPY_ASSIGNMENT(anim_atlas); + static BitArray make_bitmask(const ImageView2D& tex); + private: GL::Texture2D _tex; String _name; @@ -59,7 +61,6 @@ private: static decltype(_group_indices) make_group_indices(const anim_def& anim) noexcept; static std::uint8_t rotation_to_index(StringView name) noexcept; - static BitArray make_bitmask(const ImageView2D& tex); }; } // namespace floormat |