summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-10 22:30:58 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-10 22:30:58 +0100
commiteae6f6f08936452865abff0a388ba0fa3e719b53 (patch)
treef6c83d835678fab883457a633a1d4e1288cf7711
parent5fa4a15284bb037d4b76b57078a58b81d2123d7d (diff)
c
-rw-r--r--src/chunk-walls.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/chunk-walls.cpp b/src/chunk-walls.cpp
index 6720bec9..fc744010 100644
--- a/src/chunk-walls.cpp
+++ b/src/chunk-walls.cpp
@@ -63,42 +63,34 @@ constexpr Quads::quad get_quad(Direction_ D, Group_ G, float depth)
}};
case side:
if (!is_west)
- {
return {{
{ X, -Y - depth, 0 },
{ X, -Y - depth, Z },
{ X, -Y, 0 },
{ X, -Y, Z },
}};
- }
else
- {
return {{
{ -X, Y, 0 },
{ -X, Y, Z },
{ -X - depth, Y, 0 },
{ -X - depth, Y, Z },
}};
- }
case top:
if (!is_west)
- {
return {{
{ -X, -Y - depth, Z },
{ X, -Y - depth, Z },
{ -X, -Y, Z },
{ X, -Y, Z }
}};
- }
else
- {
return {{
{ -X, -Y, Z },
{ -X, Y, Z },
{ -X - depth, -Y, Z },
{ -X - depth, Y, Z },
}};
- }
case corner:
if (!is_west)
return {{