From b9b9c38371e45efaa998352e86d301c8f4e452cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 5 Dec 2013 17:41:30 +0100 Subject: [PATCH] SceneGraph: fix infinite recursion problems. Spotted by MSVC. The virtual interface isn't used much anyway, so it wasn't detected until now. --- src/SceneGraph/DualComplexTransformation.h | 2 +- src/SceneGraph/MatrixTransformation2D.h | 2 +- src/SceneGraph/RigidMatrixTransformation2D.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SceneGraph/DualComplexTransformation.h b/src/SceneGraph/DualComplexTransformation.h index 539c5ed79..6037fab9e 100644 --- a/src/SceneGraph/DualComplexTransformation.h +++ b/src/SceneGraph/DualComplexTransformation.h @@ -129,7 +129,7 @@ template class BasicDualComplexTransformation: public AbstractBasicTran } void doRotate(Math::Rad angle, TransformationType type) override final { - doRotate(angle, type); + rotate(angle, type); } /* No assertions fired, for internal use */ diff --git a/src/SceneGraph/MatrixTransformation2D.h b/src/SceneGraph/MatrixTransformation2D.h index ae282f44d..d3b4f03dc 100644 --- a/src/SceneGraph/MatrixTransformation2D.h +++ b/src/SceneGraph/MatrixTransformation2D.h @@ -129,7 +129,7 @@ template class BasicMatrixTransformation2D: public AbstractBasicTransla } void doRotate(Math::Rad angle, TransformationType type) override final { - doRotate(angle, type); + rotate(angle, type); } void doScale(const Math::Vector2& vector, TransformationType type) override final { diff --git a/src/SceneGraph/RigidMatrixTransformation2D.h b/src/SceneGraph/RigidMatrixTransformation2D.h index b369f114e..072015013 100644 --- a/src/SceneGraph/RigidMatrixTransformation2D.h +++ b/src/SceneGraph/RigidMatrixTransformation2D.h @@ -146,7 +146,7 @@ template class BasicRigidMatrixTransformation2D: public AbstractBasicTr } void doRotate(Math::Rad angle, TransformationType type) override final { - doRotate(angle, type); + rotate(angle, type); } /* No assertions fired, for internal use */