src/glShared.h

changeset 1177
8661b9237ed5
parent 1173
6cd85b28f43b
child 1178
3a88e7a60b63
--- a/src/glShared.h	Thu Mar 02 14:45:34 2017 +0200
+++ b/src/glShared.h	Fri Mar 03 00:35:43 2017 +0200
@@ -22,25 +22,6 @@
 #include <QGenericMatrix>
 #include "basics.h"
 
-class GLRotationMatrix : public QGenericMatrix<4, 4, GLfloat>
-{
-public:
-	GLRotationMatrix() {}
-	GLRotationMatrix(GLfloat values[16]) :
-	    QGenericMatrix<4, 4, GLfloat> {values} {}
-	GLRotationMatrix(std::initializer_list<GLfloat>&& values)
-	{
-		auto iterator = values.begin();
-
-		for (int i = 0; i < 4; ++i)
-		for (int j = 0; j < 4; ++j)
-		{
-			(*this)(i, j) = *iterator;
-			++iterator;
-		}
-	}
-};
-
 inline void glMultMatrixf(const GLRotationMatrix& matrix)
 {
 	glMultMatrixf(matrix.constData());

mercurial