--- a/src/modeleditcontext.cpp Thu Mar 19 21:06:06 2020 +0200 +++ b/src/modeleditcontext.cpp Wed Mar 25 16:07:20 2020 +0200 @@ -70,7 +70,7 @@ return this->storedModel; } -static std::array<geom::Triangle, 2> splitTriangles(ldraw::Diagonal diagonal, const glm::vec3(&points)[4]) +static std::array<geom::Triangle, 2> splitTriangles(ldraw::Diagonal diagonal, const std::array<glm::vec3, 4>& points) { std::array<geom::Triangle, 2> result; switch (diagonal)