summaryrefslogtreecommitdiffhomepage
path: root/editor/draw.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:29:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:45:29 +0100
commitd74df1b763979d281f76f3f30543aee8d8a638b7 (patch)
tree08939a34160b261c37644595aa8702dd0689d74f /editor/draw.cpp
parent7867213a01fcabb1f05b1836c2ca59dc3bb2132f (diff)
rename floor -> ground
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r--editor/draw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp
index c4f6a8a2..84ceef00 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -68,7 +68,7 @@ void app::draw_cursor()
if (ed->is_anything_selected())
{
shader.set_tint({1, 1, 1, 0.75f});
- auto [_f, _w, anim_mesh] = M->meshes();
+ auto [_g, _w, anim_mesh] = M->meshes();
const auto offset = Vector3i(Vector2i(sel.offset), 0);
const auto pos = Vector3i(tile)*iTILE_SIZE + offset;
auto [ch, t] = w[tile];
@@ -86,7 +86,7 @@ void app::draw_cursor()
const auto& atlas = vo->get_selected()->factory->atlas();
draw(_wireframe_quad, TILE_SIZE2);
shader.set_tint({1, 1, 1, 0.75f});
- auto [_f, _w, anim_mesh] = M->meshes();
+ auto [_g, _w, anim_mesh] = M->meshes();
const auto pos = Vector3i(tile)*iTILE_SIZE;
anim_mesh.draw(shader, *atlas, rotation::N, 0, Vector3(pos), 1);
}