From b7006b670843f692bc14aa9932bffd44f6a629f7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 22 Nov 2023 04:29:40 +0100 Subject: add todo --- src/tile-atlas.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tile-atlas.hpp b/src/tile-atlas.hpp index 205da68f..45251c6d 100644 --- a/src/tile-atlas.hpp +++ b/src/tile-atlas.hpp @@ -15,6 +15,7 @@ struct tile_atlas final using quad = std::array; using texcoords = std::array; + // todo remove Optional when wall atlases are fully implemented -sh 20231122 tile_atlas(StringView path, StringView name, const ImageView2D& img, Vector2ub tile_count, Optional pass_mode); texcoords texcoords_for_id(size_t id) const; @@ -24,9 +25,9 @@ struct tile_atlas final Vector2ub num_tiles2() const { return dims_; } GL::Texture2D& texture() { return tex_; } StringView name() const { return name_; } - Optional pass_mode() const; + Optional pass_mode() const; // todo remove later enum pass_mode pass_mode(enum pass_mode p) const; - void set_pass_mode(enum pass_mode p); + void set_pass_mode(enum pass_mode p); // todo remove later private: static std::unique_ptr make_texcoords_array(Vector2ui pixel_size, Vector2ub tile_count); -- cgit v1.2.3