diff --git a/Engine/source/math/mMatrix.h b/Engine/source/math/mMatrix.h index bdd167aee..e2717e985 100644 --- a/Engine/source/math/mMatrix.h +++ b/Engine/source/math/mMatrix.h @@ -622,9 +622,6 @@ inline void mTransformPlane(const MatrixF& mat, const Point3F& scale, const Plan //------------------------------------ // Templatized matrix class to replace MATRIXF above -// row-major for now, since torque says it uses that -// but in future could cut down on transpose calls if -// we switch to column major. //------------------------------------ template diff --git a/Engine/source/math/mathTypes.cpp b/Engine/source/math/mathTypes.cpp index 5beb3f9b0..751f3e31b 100644 --- a/Engine/source/math/mathTypes.cpp +++ b/Engine/source/math/mathTypes.cpp @@ -108,6 +108,13 @@ IMPLEMENT_STRUCT( MatrixF, MatrixFEngineExport::getMatrixField(), END_IMPLEMENT_STRUCT; +IMPLEMENT_STRUCT(Matrix4F, + Matrix4F, MathTypes, + "") + + MatrixTemplateExport::getMatrixField(), + + END_IMPLEMENT_STRUCT; IMPLEMENT_STRUCT( AngAxisF, AngAxisF, MathTypes, "" )