diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 13:14:25 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 13:14:25 +0100 |
| commit | 22c0347382db21803cbeaf599a473b1d13b009a3 (patch) | |
| tree | e700d33fa247600f69d2016405109aabae15ab71 /src/chunk-render.cpp | |
| parent | f8af6aadbf67bd2ff459d3e8fb09364342a8d080 (diff) | |
b
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 c5dd068a..b445eff9 100644 --- a/src/chunk-render.cpp +++ b/src/chunk-render.cpp @@ -55,7 +55,7 @@ auto chunk::ensure_ground_mesh() noexcept -> ground_mesh_tuple return _ground->atlases[a] < _ground->atlases[b]; }); - float hack_offset = _coord.z <= 0 ? -16 : 0; // XXX hack + float hack_offset = _coord.z <= 0 ? -16.f : 0.f; // XXX hack auto& vertexes = static_vertexes; for (auto k = 0uz; k < count; k++) |
