-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template Matrix class #1297
Merged
Azaezel
merged 29 commits into
TorqueGameEngines:development
from
marauder2k9-torque:matrix-templated
Nov 7, 2024
Merged
Template Matrix class #1297
Azaezel
merged 29 commits into
TorqueGameEngines:development
from
marauder2k9-torque:matrix-templated
Nov 7, 2024
Commits on Jul 27, 2024
-
initial implemenation of templated classes : Matrix class first.
Configuration menu - View commit details
-
Copy full SHA for dd25f1c - Browse repository at this point
Copy the full SHA dd25f1cView commit details -
setColumn setRow isIdentity only a few functions left
Configuration menu - View commit details
-
Copy full SHA for 0f02c87 - Browse repository at this point
Copy the full SHA 0f02c87View commit details
Commits on Jul 28, 2024
-
fix comment, torque is already column major, even though doc says its row major
Configuration menu - View commit details
-
Copy full SHA for c0bcb8b - Browse repository at this point
Copy the full SHA c0bcb8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b5e85 - Browse repository at this point
Copy the full SHA 02b5e85View commit details -
add mul functions and operators code conformity changes
Configuration menu - View commit details
-
Copy full SHA for 2cee5f7 - Browse repository at this point
Copy the full SHA 2cee5f7View commit details -
added functions for normalize and affineInverse
Configuration menu - View commit details
-
Copy full SHA for 8f8cc32 - Browse repository at this point
Copy the full SHA 8f8cc32View commit details -
apparently templated classes need all functions to be inline, otherwise unresolved symbols macro for switching between matrixf and templated few functions that were missed
Configuration menu - View commit details
-
Copy full SHA for 888332a - Browse repository at this point
Copy the full SHA 888332aView commit details -
backup closest working example, no errors or warnings from compile, matrices arent correct though yet.
Configuration menu - View commit details
-
Copy full SHA for c61d36b - Browse repository at this point
Copy the full SHA c61d36bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 504b549 - Browse repository at this point
Copy the full SHA 504b549View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fa1519 - Browse repository at this point
Copy the full SHA 2fa1519View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75c5a09 - Browse repository at this point
Copy the full SHA 75c5a09View commit details -
bracket lines change functions to match mmath_c to figure out where the issue is.
Configuration menu - View commit details
-
Copy full SHA for 54bb31c - Browse repository at this point
Copy the full SHA 54bb31cView commit details -
committed tests for matrix class so far all tests are matching between templated and stock matrixf class
Configuration menu - View commit details
-
Copy full SHA for f77ff37 - Browse repository at this point
Copy the full SHA f77ff37View commit details -
more tests that match between template and matrixf
Configuration menu - View commit details
-
Copy full SHA for 409f523 - Browse repository at this point
Copy the full SHA 409f523View commit details -
change mul tests to use more real world examples
Configuration menu - View commit details
-
Copy full SHA for fc058aa - Browse repository at this point
Copy the full SHA fc058aaView commit details -
fixed inverse function, was not returning correctly.
Configuration menu - View commit details
-
Copy full SHA for 8c19f6d - Browse repository at this point
Copy the full SHA 8c19f6dView commit details -
test box multiplication test transformPlane
Configuration menu - View commit details
-
Copy full SHA for 5883e3d - Browse repository at this point
Copy the full SHA 5883e3dView commit details
Commits on Jul 30, 2024
-
added more unit tests to match values between templated and matrix tests showed discrepancies in affineInverse, fixed the function to return what is expected.
Configuration menu - View commit details
-
Copy full SHA for a5de2d9 - Browse repository at this point
Copy the full SHA a5de2d9View commit details -
more unit tests revealed more discrepancies fixes applied.
Configuration menu - View commit details
-
Copy full SHA for d038519 - Browse repository at this point
Copy the full SHA d038519View commit details -
implemented the rest of the tests euler single dimension angle tests now pass, missed 1.0f in z
Configuration menu - View commit details
-
Copy full SHA for f96e044 - Browse repository at this point
Copy the full SHA f96e044View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4078f3a - Browse repository at this point
Copy the full SHA 4078f3aView commit details
Commits on Jul 31, 2024
-
added #if block around inverse methods to track down shadow bug uses old inverse method as default for now.
Configuration menu - View commit details
-
Copy full SHA for ab4b4cb - Browse repository at this point
Copy the full SHA ab4b4cbView commit details -
fix invertTo function unitTest to make sure matrix calling invertTo does not get changed. reimplemented gauss jordan.
Configuration menu - View commit details
-
Copy full SHA for 165a2be - Browse repository at this point
Copy the full SHA 165a2beView commit details -
returning identity no longer necessary as fullinverse is its own algo
Configuration menu - View commit details
-
Copy full SHA for 219792c - Browse repository at this point
Copy the full SHA 219792cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e729c - Browse repository at this point
Copy the full SHA b5e729cView commit details
Commits on Aug 1, 2024
-
invertTo should always just be const return loop to * operator, explicit will not allow for scaling of rows and cols
Configuration menu - View commit details
-
Copy full SHA for 699fa5e - Browse repository at this point
Copy the full SHA 699fa5eView commit details -
change matrix unit tests to use POINT_EPSILON macro for testing precision remove old matrix test class, was not used anyway
Configuration menu - View commit details
-
Copy full SHA for b72b788 - Browse repository at this point
Copy the full SHA b72b788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed9fbb - Browse repository at this point
Copy the full SHA 2ed9fbbView commit details -
cmake option to enable the templated matrix class, this is still in review phase, if it gets merged into main, probably best to remove this options just in case someone activates it accidentally.
Configuration menu - View commit details
-
Copy full SHA for 3b4ce5f - Browse repository at this point
Copy the full SHA 3b4ce5fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.