src/ui/canvas.cpp

changeset 68
ddb07bb6840c
parent 67
612213a168da
child 70
f21b800b02a4
--- a/src/ui/canvas.cpp	Thu Mar 05 15:58:35 2020 +0200
+++ b/src/ui/canvas.cpp	Fri Mar 06 16:08:45 2020 +0200
@@ -148,7 +148,12 @@
 		{0, -13.273, -9.255, 1},
 	};
 	*/
-	this->gridMatrix = glm::mat4{1};
+	this->gridMatrix = glm::mat4{
+		{1, 0, 0, 0},
+		{0, 0, 1, 0},
+		{0, 1, 0, 0},
+		{0, 0, 0, 1}
+	};
 	this->updateGridMatrix();
 }
 

mercurial