We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b15bb6 commit ceb7af7Copy full SHA for ceb7af7
GeneralsMD/Code/Libraries/Source/WWVegas/WWMath/matrix3d.cpp
@@ -65,7 +65,9 @@
65
#include "matrix3.h"
66
#include "matrix4.h"
67
#include "quat.h"
68
+#ifdef _WIN32
69
#include "d3dx8math.h"
70
+#endif
71
72
// some static matrices which are sometimes useful
73
const Matrix3D Matrix3D::Identity
@@ -520,7 +522,9 @@ void Matrix3D::Get_Inverse(Matrix3D & inv) const
520
522
Matrix4x4 mat4Inv;
521
523
524
float det;
525
526
D3DXMatrixInverse((D3DXMATRIX *)&mat4Inv, &det, (D3DXMATRIX*)&mat4);
527
528
529
inv.Row[0][0]=mat4Inv[0][0];
530
inv.Row[0][1]=mat4Inv[0][1];
0 commit comments