mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Merge pull request #1297 from marauder2k9-torque/matrix-templated
Template Matrix class
This commit is contained in:
commit
1be326e0d0
20 changed files with 2523 additions and 99 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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_
|
||||
|
|
|
|||
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue