1
Fork 0

Use std::array explicitly in child_pattern

Otherwise, it's assumed to be an initializer_list.
This commit is contained in:
Joshua Goins 2024-09-25 10:43:50 +02:00
parent 3ae3ae7e6d
commit d61450aacb

View file

@ -7,7 +7,7 @@
constexpr int max_contained_types = 16; constexpr int max_contained_types = 16;
constexpr int max_octree_depth = 2; constexpr int max_octree_depth = 2;
constexpr auto child_pattern = { constexpr std::array child_pattern = {
glm::vec3(+1, -1, -1), glm::vec3(+1, -1, -1),
glm::vec3(+1, -1, +1), glm::vec3(+1, -1, +1),
glm::vec3(+1, +1, -1), glm::vec3(+1, +1, -1),