summaryrefslogtreecommitdiffhomepage
path: root/main/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-09 07:49:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-09 07:49:42 +0200
commitf6d822abd400d7a61ccacb49df75212132bcec66 (patch)
tree7444b5f8ace3ea97804b55e3247af09da8bfca55 /main/main.cpp
parent5b97a6de06e7c44e7960159dc98c54860170203b (diff)
a
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index ec065523..431bbefd 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -70,11 +70,11 @@ void app::draw_wireframe_quad()
void app::draw_wireframe_box()
{
- constexpr float LINE_WIDTH = 1;
+ constexpr float LINE_WIDTH = 1.5;
constexpr auto X = TILE_SIZE[0], Y = TILE_SIZE[1];
constexpr float N = TILE_MAX_DIM/2.f;
- constexpr Vector3 size{TILE_SIZE[0], TILE_SIZE[1], TILE_SIZE[2]};
+ constexpr Vector3 size{TILE_SIZE[0], TILE_SIZE[1], TILE_SIZE[2]*1.5f};
const Vector3 center1{X*(N+3), Y*(N+2), 0},
center2{X*(N-2), Y*(N-4), 0};
_shader.set_tint({0, 1, 0, 1});