diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-25 18:18:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-25 18:18:54 +0200 |
commit | 9eb409b87e2f6750bbff18281222e829f9a44e18 (patch) | |
tree | 896914c0516afaa2e50b281a968785ca097495a3 /editor | |
parent | d18f3480de2b6f81ff189f7fe9f586f3bbce4403 (diff) |
fix evil typo
Diffstat (limited to 'editor')
-rw-r--r-- | editor/imgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp index 5a6b2514..7206a318 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -228,7 +228,7 @@ void app::do_lightmap_test() auto c = chunk_coords_{(int16_t)i, (int16_t)j, z}; if (auto* chunk = w.at(c)) { - auto offset = Vector2(Vector2i(c.x) - Vector2i(ch)); + auto offset = Vector2(Vector2i(c.x, c.y) - Vector2i(ch)); shader.add_chunk(offset, *chunk); } } |