summaryrefslogtreecommitdiffhomepage
path: root/src/tile-atlas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile-atlas.hpp')
-rw-r--r--src/tile-atlas.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tile-atlas.hpp b/src/tile-atlas.hpp
index edb18764..26d3fc17 100644
--- a/src/tile-atlas.hpp
+++ b/src/tile-atlas.hpp
@@ -17,6 +17,7 @@ struct tile_atlas final
tile_atlas(StringView path, StringView name, const ImageView2D& img, Vector2ub tile_count, Optional<enum pass_mode> pass_mode);
+ static texcoords texcoords_at(Vector2ui pos, Vector2ui size, Vector2ui image_size);
texcoords texcoords_for_id(size_t id) const;
static constexpr quad floor_quad(Vector3 center, Vector2 size);
static constexpr quad wall_quad_N(Vector3 center, Vector3 size);