Merge pull request #1297 from marauder2k9-torque/matrix-templated

Template Matrix class
This commit is contained in:
Brian Roberts 2024-11-07 16:17:38 -06:00 committed by GitHub
commit 1be326e0d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 2523 additions and 99 deletions

View file

@ -52,8 +52,12 @@ enum GameConnectionConstants
class IDisplayDevice;
class SFXProfile;
#ifndef USE_TEMPLATE_MATRIX
class MatrixF;
class MatrixF;
#else
template<typename DATA_TYPE, U32 rows, U32 cols> class Matrix;
typedef Matrix<F32, 4, 4> MatrixF;
#endif
class Point3F;
class MoveManager;
class MoveList;

View file

@ -28,7 +28,12 @@
#endif
class Point3F;
#ifndef USE_TEMPLATE_MATRIX
class MatrixF;
#else
template<typename DATA_TYPE, U32 rows, U32 cols> class Matrix;
typedef Matrix<F32, 4, 4> MatrixF;
#endif
class PlaneF;
@ -84,4 +89,4 @@ public:
const MatrixF &localXfm ) = 0;
};
#endif // _T3D_PHYSICS_PHYSICSCOLLISION_H_
#endif // _T3D_PHYSICS_PHYSICSCOLLISION_H_

View file

@ -34,7 +34,12 @@
#endif
class PhysicsWorld;
#ifndef USE_TEMPLATE_MATRIX
class MatrixF;
#else
template<typename DATA_TYPE, U32 rows, U32 cols> class Matrix;
typedef Matrix<F32, 4, 4> MatrixF;
#endif
class Point3F;
class Box3F;
@ -88,4 +93,4 @@ protected:
U32 mQueuedEvent;
};
#endif // _T3D_PHYSICS_PHYSICSOBJECT_H_
#endif // _T3D_PHYSICS_PHYSICSOBJECT_H_