diff --git a/.vs/3dMath/v15/.suo b/.vs/3dMath/v15/.suo index cceb55c..8b14076 100644 Binary files a/.vs/3dMath/v15/.suo and b/.vs/3dMath/v15/.suo differ diff --git a/main.cpp b/main.cpp index c08221c..a163320 100644 --- a/main.cpp +++ b/main.cpp @@ -28,6 +28,20 @@ int main() { GMatrix M2 = Transpose(M1); cout << M2 << endl; - cout << M1 * M2 << endl; + cout << Det(M1) * Det(M2) << endl; + + float a[] = { + 1, 2, 3, + 3, 1, 2, + 2, 3, 1 + }; + GMatrix M3(3, 3, a); + + GMatrix M4 = Inverse(M3); + + cout << M3 << endl; + cout << M4 << endl; + + cout << Det(M3) * Det(M4) << endl; return 0; } \ No newline at end of file