diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
commit | 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch) | |
tree | c0a5d21b8e19fbb60c286faec8e302e6f32b6679 /draw/box.hpp | |
parent | 32b8c22828315292857e2cd9909fba620f30ff70 (diff) |
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'draw/box.hpp')
-rw-r--r-- | draw/box.hpp | 2 |
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>; |