summaryrefslogtreecommitdiffhomepage
path: root/src/wall-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-23 14:42:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-26 04:39:12 +0100
commit3370445a2e22ee00687ecef2e9dc88f47bb2b4c6 (patch)
treea99ec32a02fc91d729205fc26d7183b6b4214b28 /src/wall-atlas.cpp
parentc141a9efcfaecadffe771bd0c37bea0e46a3f9aa (diff)
a
Diffstat (limited to 'src/wall-atlas.cpp')
-rw-r--r--src/wall-atlas.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp
index b56a845b..fa6e99a6 100644
--- a/src/wall-atlas.cpp
+++ b/src/wall-atlas.cpp
@@ -81,7 +81,6 @@ wall_atlas::~wall_atlas() noexcept = default;
Vector2ui wall_atlas::expected_size(unsigned depth, Group_ group)
{
constexpr auto size = Vector3ui{iTILE_SIZE};
- constexpr auto half_tile = size.x()/2u;
static_assert(size.x() == size.y());
fm_assert(depth > 0 && depth < 1<<15);
@@ -95,10 +94,6 @@ Vector2ui wall_atlas::expected_size(unsigned depth, Group_ group)
case top:
case side:
return { depth, size.z() };
- case corner_L:
- return { half_tile, size.z() };
- case corner_R:
- return { size.x() - half_tile, size.z() };
default:
std::unreachable();
fm_assert(false);