default to XZ

Fri, 06 Mar 2020 16:08:45 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 06 Mar 2020 16:08:45 +0200
changeset 68
ddb07bb6840c
parent 67
612213a168da
child 69
a36913fc552a

default to XZ

src/ui/canvas.cpp file | annotate | diff | comparison | revisions
--- 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