summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 04ede3a9..2696dc79 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -48,15 +48,15 @@ void app::drawEvent() {
void app::draw_chunk(chunk& c)
{
- _shader.set_tint({1, 1, 1, 1});
_floor_mesh.draw(_shader, c);
_wall_mesh.draw(_shader, c);
}
void app::draw_wireframe()
{
- _shader.set_tint({1.f, 0, 0, 1.f});
- _wireframe_quad.draw(_shader, {{}, {TILE_SIZE[0], TILE_SIZE[1]}});
+ _shader.set_tint({1.f, 1.f, 0, 1.f});
+ _wireframe_quad.draw(_shader, {{10, 10, 0}, {TILE_SIZE[0], TILE_SIZE[1]}});
+ _shader.set_tint({1, 1, 1, 1});
}
} // namespace Magnum::Examples