diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-27 06:54:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-27 06:54:54 +0200 |
commit | c2869b8f9d851b31ee215c73e4170fa42f37df1c (patch) | |
tree | 8fdc0e77b620a4fdc8cda104c1b81d22322dfc38 /src/chunk-render.cpp | |
parent | cf684d3a9787a082a18c7aed0b51c11518b83116 (diff) |
add comment
Diffstat (limited to 'src/chunk-render.cpp')
-rw-r--r-- | src/chunk-render.cpp | 2 |
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++) |