well that's embarrassing

Wed, 08 Jun 2022 23:02:04 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 08 Jun 2022 23:02:04 +0300
changeset 207
5315358a7d91
parent 206
654661eab7f3
child 208
930928b760a2

well that's embarrassing

src/basics.h file | annotate | diff | comparison | revisions
--- a/src/basics.h	Wed Jun 08 22:29:44 2022 +0300
+++ b/src/basics.h	Wed Jun 08 23:02:04 2022 +0300
@@ -293,10 +293,10 @@
 inline QString transformToString(const glm::mat4& matrix)
 {
 	return QStringLiteral("%1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12")
-		.arg(matrix[3][0], matrix[3][1], matrix[3][2])
-		.arg(matrix[0][0], matrix[1][0], matrix[2][0])
-		.arg(matrix[0][1], matrix[1][1], matrix[2][1])
-		.arg(matrix[0][2], matrix[1][2], matrix[2][2]);
+		.arg(matrix[3][0]).arg(matrix[3][1]).arg(matrix[3][2])
+		.arg(matrix[0][0]).arg(matrix[1][0]).arg(matrix[2][0])
+		.arg(matrix[0][1]).arg(matrix[1][1]).arg(matrix[2][1])
+		.arg(matrix[0][2]).arg(matrix[1][2]).arg(matrix[2][2]);
 }
 
 template<typename T, glm::qualifier Q>

mercurial