From 4026d814cd80e7e545d15dbd965cb780edcda9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 3 Jul 2013 18:24:17 +0200 Subject: [PATCH 1/2] SceneGraph: forgot these typedefs when dealing with <>. --- src/SceneGraph/MatrixTransformation2D.h | 5 +++++ src/SceneGraph/RigidMatrixTransformation2D.h | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/SceneGraph/MatrixTransformation2D.h b/src/SceneGraph/MatrixTransformation2D.h index 530aef688..f2861c72c 100644 --- a/src/SceneGraph/MatrixTransformation2D.h +++ b/src/SceneGraph/MatrixTransformation2D.h @@ -175,7 +175,12 @@ template class BasicMatrixTransformation2D: public AbstractBasicTransla Math::Matrix3 _transformation; }; +/** +@brief Two-dimensional transformation for float scenes implemented using matrices +@see @ref MatrixTransformation3D +*/ +typedef BasicMatrixTransformation2D MatrixTransformation2D; }} diff --git a/src/SceneGraph/RigidMatrixTransformation2D.h b/src/SceneGraph/RigidMatrixTransformation2D.h index 9b8807011..0a5e70101 100644 --- a/src/SceneGraph/RigidMatrixTransformation2D.h +++ b/src/SceneGraph/RigidMatrixTransformation2D.h @@ -208,6 +208,12 @@ template class BasicRigidMatrixTransformation2D: public AbstractBasicTr Math::Matrix3 _transformation; }; +/** +@brief Two-dimensional rigid transformation for float scenes implemented using matrices + +@see @ref RigidMatrixTransformation3D +*/ +typedef BasicRigidMatrixTransformation2D RigidMatrixTransformation2D; }} From 4091d7c9b5989769eb5e30d846a58a921107cb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 3 Jul 2013 18:24:53 +0200 Subject: [PATCH 2/2] Platform: fix unused variable warning. --- src/Platform/WindowlessNaClApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/WindowlessNaClApplication.cpp b/src/Platform/WindowlessNaClApplication.cpp index 84c695b55..a890b2c91 100644 --- a/src/Platform/WindowlessNaClApplication.cpp +++ b/src/Platform/WindowlessNaClApplication.cpp @@ -67,7 +67,7 @@ void WindowlessNaClApplication::createContext(Configuration* configuration) { } else delete configuration; } -bool WindowlessNaClApplication::tryCreateContext(Configuration* configuration) { +bool WindowlessNaClApplication::tryCreateContext(Configuration*) { CORRADE_ASSERT(!c, "Platform::WindowlessNaClApplication::tryCreateContext(): context already created", false); const std::int32_t attributes[] = {