src/mathfunctions.cpp

changeset 1161
e6a5ff67c057
parent 1147
a26568aa3cce
child 1192
317f4ce38f3f
child 1313
4baed9f54de3
--- a/src/mathfunctions.cpp	Thu Feb 23 20:21:40 2017 +0200
+++ b/src/mathfunctions.cpp	Thu Feb 23 20:25:47 2017 +0200
@@ -28,7 +28,7 @@
 void MathFunctions::rotateVertex(Vertex& vertex, const Vertex& rotationPoint, const Matrix& transformationMatrix) const
 {
 	vertex -= rotationPoint;
-	vertex.transform (transformationMatrix, Origin);
+	vertex.transform (transformationMatrix, {0, 0, 0});
 	vertex += rotationPoint;
 }
 

mercurial