diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-16 20:40:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-16 20:40:14 +0200 |
commit | 0db5306c483c718076b14349f223840cce2862bd (patch) | |
tree | 80be8ee8e4667433bc1fbbd5be22654fab7a8087 | |
parent | 6e40ad6aa2eb43066d939f5e1c920b2a8cbf49a1 (diff) |
a
-rw-r--r-- | draw/wireframe-quad.cpp | 4 | ||||
-rw-r--r-- | src/tile-defs.hpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/draw/wireframe-quad.cpp b/draw/wireframe-quad.cpp index 56aa0845..454189f9 100644 --- a/draw/wireframe-quad.cpp +++ b/draw/wireframe-quad.cpp @@ -15,7 +15,9 @@ quad::vertex_array quad::make_vertex_array() const }}; } -quad::quad(Vector3 center, Vector2 size, float line_width) : center(center), size(size), line_width{line_width} {} +quad::quad(Vector3 center, Vector2 size, float line_width) : + center(center), size(size), line_width{line_width} +{} void quad::on_draw() const { diff --git a/src/tile-defs.hpp b/src/tile-defs.hpp index 69827210..41377cc0 100644 --- a/src/tile-defs.hpp +++ b/src/tile-defs.hpp @@ -5,6 +5,6 @@ namespace floormat { constexpr inline std::size_t TILE_MAX_DIM = 16; constexpr inline std::size_t TILE_COUNT = TILE_MAX_DIM*TILE_MAX_DIM; -constexpr inline float TILE_SIZE[3] = { 64, 64, 64 }; +constexpr inline float TILE_SIZE[3] = { 64, 64, 128 }; } // namespace floormat |