From e9b322894326089404be55519f5ff94eaaf979cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 15 Mar 2013 15:22:34 +0100 Subject: [PATCH] SceneGraph: minor code cleanup. --- src/SceneGraph/MatrixTransformation2D.h | 4 ++-- src/SceneGraph/MatrixTransformation3D.h | 4 ++-- src/SceneGraph/RigidMatrixTransformation2D.h | 4 ++-- src/SceneGraph/RigidMatrixTransformation3D.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/SceneGraph/MatrixTransformation2D.h b/src/SceneGraph/MatrixTransformation2D.h index e7ad90e40..80b1bd294 100644 --- a/src/SceneGraph/MatrixTransformation2D.h +++ b/src/SceneGraph/MatrixTransformation2D.h @@ -47,8 +47,8 @@ template #endif class MatrixTransformation2D: public AbstractTranslationRotationScaling2D { public: - /** @brief Transformation matrix type */ - typedef typename DimensionTraits<2, T>::MatrixType DataType; + /** @brief Underlying transformation type */ + typedef Math::Matrix3 DataType; #ifndef DOXYGEN_GENERATING_OUTPUT inline constexpr static Math::Matrix3 fromMatrix(const Math::Matrix3& matrix) { diff --git a/src/SceneGraph/MatrixTransformation3D.h b/src/SceneGraph/MatrixTransformation3D.h index 3cc8dd00f..08a36bd77 100644 --- a/src/SceneGraph/MatrixTransformation3D.h +++ b/src/SceneGraph/MatrixTransformation3D.h @@ -47,8 +47,8 @@ template #endif class MatrixTransformation3D: public AbstractTranslationRotationScaling3D { public: - /** @brief Transformation matrix type */ - typedef typename DimensionTraits<3, T>::MatrixType DataType; + /** @brief Underlying transformation type */ + typedef Math::Matrix4 DataType; #ifndef DOXYGEN_GENERATING_OUTPUT inline constexpr static Math::Matrix4 fromMatrix(const Math::Matrix4& matrix) { diff --git a/src/SceneGraph/RigidMatrixTransformation2D.h b/src/SceneGraph/RigidMatrixTransformation2D.h index cdc76d65a..4d49c2a5b 100644 --- a/src/SceneGraph/RigidMatrixTransformation2D.h +++ b/src/SceneGraph/RigidMatrixTransformation2D.h @@ -50,8 +50,8 @@ template #endif class RigidMatrixTransformation2D: public AbstractTranslationRotation2D { public: - /** @brief Transformation matrix type */ - typedef typename DimensionTraits<2, T>::MatrixType DataType; + /** @brief Underlying transformation type */ + typedef Math::Matrix3 DataType; #ifndef DOXYGEN_GENERATING_OUTPUT inline static Math::Matrix3 fromMatrix(const Math::Matrix3& matrix) { diff --git a/src/SceneGraph/RigidMatrixTransformation3D.h b/src/SceneGraph/RigidMatrixTransformation3D.h index e087b7420..9757b2271 100644 --- a/src/SceneGraph/RigidMatrixTransformation3D.h +++ b/src/SceneGraph/RigidMatrixTransformation3D.h @@ -50,8 +50,8 @@ template #endif class RigidMatrixTransformation3D: public AbstractTranslationRotation3D { public: - /** @brief Transformation matrix type */ - typedef typename DimensionTraits<3, T>::MatrixType DataType; + /** @brief Underlying transformation type */ + typedef Math::Matrix4 DataType; #ifndef DOXYGEN_GENERATING_OUTPUT inline static Math::Matrix4 fromMatrix(const Math::Matrix4& matrix) {