diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-09 02:12:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-09 02:12:07 +0100 |
commit | c7546fb36e84f9bbcc9ae47e0ed33f96fe894ffb (patch) | |
tree | 9f4ad2e000cb34ffb26d31f5df92a6757e729219 | |
parent | 98c557e46b2caa02c000721a3ef5a85c955fbeda (diff) |
bb
-rw-r--r-- | src/chunk-walls.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/chunk-walls.cpp b/src/chunk-walls.cpp index 0532193a..82bae536 100644 --- a/src/chunk-walls.cpp +++ b/src/chunk-walls.cpp @@ -50,35 +50,35 @@ constexpr Quads::quad get_quad(Direction_ D, Group_ G, float depth) case wall: if (!is_west) return {{ - { X, -Y, Z }, { X, -Y, 0 }, - {-X, -Y, Z }, + { X, -Y, Z }, {-X, -Y, 0 }, + {-X, -Y, Z }, }}; else return {{ - {-X, -Y, Z }, {-X, -Y, 0 }, - {-X, Y, Z }, + {-X, -Y, Z }, {-X, Y, 0 }, + {-X, Y, Z }, }}; case side: if (!is_west) { return {{ - { X, -Y - depth, Z }, { X, -Y - depth, 0 }, - { X, -Y, Z }, + { X, -Y - depth, Z }, { X, -Y, 0 }, + { X, -Y, Z }, }}; } else { return {{ - { -X, Y, Z }, { -X, Y, 0 }, - { -X - depth, Y, Z }, + { -X, Y, Z }, { -X - depth, Y, 0 }, + { -X - depth, Y, Z }, }}; } case top: |