From eb31b6d25af2b707f04fe71fb70341c889645101 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Feb 2023 11:47:52 +0100 Subject: test: add sprite bitmap test --- src/anim-atlas.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3