summaryrefslogtreecommitdiffhomepage
path: root/draw/box.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
commit4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch)
treec0a5d21b8e19fbb60c286faec8e302e6f32b6679 /draw/box.hpp
parent32b8c22828315292857e2cd9909fba620f30ff70 (diff)
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'draw/box.hpp')
-rw-r--r--draw/box.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/box.hpp b/draw/box.hpp
index b187dc83..a6608e00 100644
--- a/draw/box.hpp
+++ b/draw/box.hpp
@@ -10,7 +10,7 @@ struct box final
{
box(Vector3 center, Vector3 size, float line_width);
- static constexpr std::size_t num_vertices = 8, num_indexes = 12*2;
+ static constexpr size_t num_vertices = 8, num_indexes = 12*2;
static constexpr GL::MeshPrimitive primitive = GL::MeshPrimitive::Lines;
using vertex_array = std::array<Vector3, num_vertices>;