--- 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; }