Browse Source

SceneGraph: move Implementation::Transformation declaration to SceneGraph.h.

Previously it caused compilation failure when only Object.h was included.
pull/23/head
Vladimír Vondruš 13 years ago
parent
commit
e60236a3ff
  1. 5
      src/SceneGraph/AbstractTransformation.h
  2. 4
      src/SceneGraph/SceneGraph.h

5
src/SceneGraph/AbstractTransformation.h

@ -130,11 +130,6 @@ typedef AbstractBasicTransformation3D<Float> AbstractTransformation3D;
typedef AbstractTransformation<3, Float> AbstractTransformation3D;
#endif
namespace Implementation {
/* See DualQuaternionTransformation.h for example implementation */
template<class T> struct Transformation;
}
}}
#endif

4
src/SceneGraph/SceneGraph.h

@ -202,6 +202,10 @@ typedef TranslationTransformation<2, Float> TranslationTransformation2D;
typedef TranslationTransformation<3, Float> TranslationTransformation3D;
#endif
namespace Implementation {
template<class> struct Transformation;
}
}}
#endif

Loading…
Cancel
Save