Browse Source

SceneGraph: minor code cleanup.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
e9b3228943
  1. 4
      src/SceneGraph/MatrixTransformation2D.h
  2. 4
      src/SceneGraph/MatrixTransformation3D.h
  3. 4
      src/SceneGraph/RigidMatrixTransformation2D.h
  4. 4
      src/SceneGraph/RigidMatrixTransformation3D.h

4
src/SceneGraph/MatrixTransformation2D.h

@ -47,8 +47,8 @@ template<class T = Float>
#endif
class MatrixTransformation2D: public AbstractTranslationRotationScaling2D<T> {
public:
/** @brief Transformation matrix type */
typedef typename DimensionTraits<2, T>::MatrixType DataType;
/** @brief Underlying transformation type */
typedef Math::Matrix3<T> DataType;
#ifndef DOXYGEN_GENERATING_OUTPUT
inline constexpr static Math::Matrix3<T> fromMatrix(const Math::Matrix3<T>& matrix) {

4
src/SceneGraph/MatrixTransformation3D.h

@ -47,8 +47,8 @@ template<class T = Float>
#endif
class MatrixTransformation3D: public AbstractTranslationRotationScaling3D<T> {
public:
/** @brief Transformation matrix type */
typedef typename DimensionTraits<3, T>::MatrixType DataType;
/** @brief Underlying transformation type */
typedef Math::Matrix4<T> DataType;
#ifndef DOXYGEN_GENERATING_OUTPUT
inline constexpr static Math::Matrix4<T> fromMatrix(const Math::Matrix4<T>& matrix) {

4
src/SceneGraph/RigidMatrixTransformation2D.h

@ -50,8 +50,8 @@ template<class T = Float>
#endif
class RigidMatrixTransformation2D: public AbstractTranslationRotation2D<T> {
public:
/** @brief Transformation matrix type */
typedef typename DimensionTraits<2, T>::MatrixType DataType;
/** @brief Underlying transformation type */
typedef Math::Matrix3<T> DataType;
#ifndef DOXYGEN_GENERATING_OUTPUT
inline static Math::Matrix3<T> fromMatrix(const Math::Matrix3<T>& matrix) {

4
src/SceneGraph/RigidMatrixTransformation3D.h

@ -50,8 +50,8 @@ template<class T = Float>
#endif
class RigidMatrixTransformation3D: public AbstractTranslationRotation3D<T> {
public:
/** @brief Transformation matrix type */
typedef typename DimensionTraits<3, T>::MatrixType DataType;
/** @brief Underlying transformation type */
typedef Math::Matrix4<T> DataType;
#ifndef DOXYGEN_GENERATING_OUTPUT
inline static Math::Matrix4<T> fromMatrix(const Math::Matrix4<T>& matrix) {

Loading…
Cancel
Save