From e60236a3ff77e25f50632ccf4e0e4fd9768bee4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 25 Oct 2013 17:28:21 +0200 Subject: [PATCH] SceneGraph: move Implementation::Transformation declaration to SceneGraph.h. Previously it caused compilation failure when only Object.h was included. --- src/SceneGraph/AbstractTransformation.h | 5 ----- src/SceneGraph/SceneGraph.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/SceneGraph/AbstractTransformation.h b/src/SceneGraph/AbstractTransformation.h index 91caeaa7c..418eb1292 100644 --- a/src/SceneGraph/AbstractTransformation.h +++ b/src/SceneGraph/AbstractTransformation.h @@ -130,11 +130,6 @@ typedef AbstractBasicTransformation3D AbstractTransformation3D; typedef AbstractTransformation<3, Float> AbstractTransformation3D; #endif -namespace Implementation { - /* See DualQuaternionTransformation.h for example implementation */ - template struct Transformation; -} - }} #endif diff --git a/src/SceneGraph/SceneGraph.h b/src/SceneGraph/SceneGraph.h index 8d5b73043..e8f657935 100644 --- a/src/SceneGraph/SceneGraph.h +++ b/src/SceneGraph/SceneGraph.h @@ -202,6 +202,10 @@ typedef TranslationTransformation<2, Float> TranslationTransformation2D; typedef TranslationTransformation<3, Float> TranslationTransformation3D; #endif +namespace Implementation { + template struct Transformation; +} + }} #endif