Commit graph

12 commits

Author SHA1 Message Date
marauder2k7 b72b7882c2 unit test improved precision
change matrix unit tests to use POINT_EPSILON macro for testing precision
remove old matrix test class, was not used anyway
2024-08-01 05:04:13 +01:00
marauder2k7 165a2bea01 fix
fix invertTo function
unitTest to make sure matrix calling invertTo does not get changed.
reimplemented gauss jordan.
2024-07-31 18:52:18 +01:00
marauder2k7 ab4b4cbf96 cramer for inverse
added #if block around inverse methods to track down shadow bug

uses old inverse method as default for now.
2024-07-31 17:32:00 +01:00
marauder2k7 4078f3ad4e inverse fixes
further tests showed issues with inverse function, now to better match what was originally happening, the inverse only happens on the 3x3 portion of the matrix and translation is handled separately.

Frustum test now uses more real world examples of a projection matrix. Test for the full unproject stack of math to test its result as unproject was where the issue about inverse originated
2024-07-30 17:54:16 +01:00
marauder2k7 f96e044d89 unit tests and fixes
implemented the rest of the tests
euler single dimension angle tests now pass, missed 1.0f in z
2024-07-30 13:00:32 +01:00
marauder2k7 d03851958d more fixes
more unit tests revealed more discrepancies fixes applied.
2024-07-30 08:30:42 +01:00
marauder2k7 a5de2d9add tests
added more unit tests to match values between templated and matrix

tests showed discrepancies in affineInverse, fixed the function to return what is expected.
2024-07-30 07:20:57 +01:00
marauder2k7 5883e3d45b Update mathMatrixTest.cpp
test box multiplication
test transformPlane
2024-07-29 22:46:16 +01:00
marauder2k7 8c19f6d8ca inverse function
fixed inverse function, was not returning correctly.
2024-07-29 21:50:33 +01:00
marauder2k7 fc058aaa5c Update mathMatrixTest.cpp
change mul tests to use more real world examples
2024-07-29 20:45:30 +01:00
marauder2k7 409f523dc3 Update mathMatrixTest.cpp
more tests that match between template and matrixf
2024-07-29 20:01:39 +01:00
marauder2k7 f77ff37e08 Create mathMatrixTest.cpp
committed tests for matrix class
so far all tests are matching between templated and stock matrixf class
2024-07-29 19:24:33 +01:00