diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-09 02:21:01 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-09 02:21:01 +0200 |
| commit | 542bc1c103f129c2f648dbe77affb485cfdf93ab (patch) | |
| tree | 86c11f4e4f55de619ce1a9026988479caaefe583 /main | |
| parent | d5212f948304b575b494b2065f14e934aaa426e1 (diff) | |
a
Diffstat (limited to 'main')
| -rw-r--r-- | main/main.cpp | 6 |
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 |
