diff options
Diffstat (limited to 'atlas.hpp')
-rw-r--r-- | atlas.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ struct atlas_texture final atlas_texture(const Trade::ImageData2D& img, Vector2i dims); std::array<Vector2, 4> texcoords_for_id(int id) const; static std::array<Vector3, 4> floor_quad(Vector3 center, Vector2 size); + static std::array<Vector3, 4> wall_quad(Vector3 center, Vector3 size); static std::array<UnsignedShort, 6> indices(int N); GL::Texture2D& texture() { return tex_; } constexpr int size() const { return dims_.product(); } |