diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-29 19:49:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-29 19:49:46 +0200 |
commit | 1fba4e6dfc8439bc4f59fa53f880258c8bdc8239 (patch) | |
tree | 391c1a2bcb1136afd5439707830762c5737fd08c /editor/draw.cpp | |
parent | 5ea810bbcd4567b38e3b8478eb5e7e3cab2e4720 (diff) |
use constexpr
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r-- | editor/draw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp index b2a7b659..b94d8ec2 100644 --- a/editor/draw.cpp +++ b/editor/draw.cpp @@ -17,8 +17,8 @@ void app::draw_wireframe_quad(global_coords pos) const Vector3 center{Vector3i(pt[0], pt[1], 0) * iTILE_SIZE}; shader.set_tint({1, 0, 0, 1}); _wireframe_quad.draw(shader, {center, TILE_SIZE2, LINE_WIDTH}); - //_wireframe_wall_n.draw(shader, {center, {TILE_SIZE[0], TILE_SIZE[1], TILE_SIZE[2]}, LINE_WIDTH}); - //_wireframe_wall_w.draw(shader, {center, {TILE_SIZE[0], TILE_SIZE[1], TILE_SIZE[2]}, LINE_WIDTH}); + //_wireframe_wall_n.draw(shader, {center, TILE_SIZE, LINE_WIDTH}); + //_wireframe_wall_w.draw(shader, {center, TILE_SIZE, LINE_WIDTH}); } } |