src/modeleditcontext.cpp

changeset 87
93ec4d630346
parent 86
4bec0525ef1b
child 89
7abaf1d64719
--- 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)

mercurial