summaryrefslogtreecommitdiffhomepage
path: root/editor/draw.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-29 18:21:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-29 18:21:25 +0200
commitd309ed0b2ac06d7ba48322303d56bf39c8b57fe4 (patch)
tree0b4444b6a3789c61e5fdd7a27af2519b22f7dac7 /editor/draw.cpp
parentd36ca021562c7a5d9d012cfdcb6e3260e9acdae5 (diff)
add wall outline wireframes
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r--editor/draw.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp
index 0c356268..535d95da 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -16,6 +16,8 @@ void app::draw_wireframe_quad(global_coords pos)
const Vector3 center{pt[0]*TILE_SIZE[0], pt[1]*TILE_SIZE[1], 0};
shader.set_tint({1, 0, 0, 1});
_wireframe_quad.draw(shader, {center, {TILE_SIZE[0], TILE_SIZE[1]}, 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});
}
}