summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-render.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-27 06:54:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-27 06:54:54 +0200
commitc2869b8f9d851b31ee215c73e4170fa42f37df1c (patch)
tree8fdc0e77b620a4fdc8cda104c1b81d22322dfc38 /src/chunk-render.cpp
parentcf684d3a9787a082a18c7aed0b51c11518b83116 (diff)
add comment
Diffstat (limited to 'src/chunk-render.cpp')
-rw-r--r--src/chunk-render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-render.cpp b/src/chunk-render.cpp
index c72deca8..b4129489 100644
--- a/src/chunk-render.cpp
+++ b/src/chunk-render.cpp
@@ -48,7 +48,7 @@ auto chunk::ensure_ground_mesh() noexcept -> ground_mesh_tuple
return _ground->_ground_atlases[a] < _ground->_ground_atlases[b];
});
- float hack_offset = _coord.z <= 0 ? -16 : 0;
+ float hack_offset = _coord.z <= 0 ? -16 : 0; // XXX hack
std::array<std::array<vertex, 4>, TILE_COUNT> vertexes;
for (auto k = 0uz; k < count; k++)