-
Notifications
You must be signed in to change notification settings - Fork 8
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
In-Game: Add a new function matrix_inverse() for inverting a matrix #2960
Comments
A native matrix_inverse() function has now been added in 2024.11 |
Removed the additional content for things which have not been done as part of this change |
…trix YoYoGames/GameMaker-Bugs#2960 * Added matrix_inverse() page * Various other improvements to matrix function pages: * Changed the type "Matrix Array" to "Matrix", abstracting away the underlying type (similar to e.g. "Instance", "Surface", etc., which are stored in a "Handle") * Data Types: added a note under the "Arrays" section mentioning that matrices are stored in arrays * Matrix Functions page: * Grouped matrix functions according to their use, updated ToC accordingly * Documented that matrices are ordered column-major in arrays * Added a line to clarify that lines are the columns instead of the rows when splitting up an assignment over multiple lines * matrix_build() page: documented that matrices are ordered column-major in arrays, added note about matrices possibly ending up transposed in the shader * matrix_multiply() page: documented order of matrix multiplication on and added a second, copy-pastable example * matrix_set() page: listed the functions that can be used to create matrices of the various types, updated code example * matrix_get() and matrix_set() page: added proper short descriptions * Visual update of matrix function pages
Added a new function page for |
Verified that the function has been added to IDE v2024.1100.0.685 Runtime v2024.1100.0.707 and it works as intended. Waiting on the documentation being released before setting the status as verified. |
Verified that a page for matrix_inverse has added to Manual Beta build #412 and is correct. Thank you |
Is your feature request related to a problem?
Implementing matrix_inverse in gml is slow
Describe the solution you'd like
A runtime function to invert a matrix
Describe alternatives you've considered
Doing it yourself (or pilfering snidr's code for it, anyway), which is slow
Additional context
I think I submitted this in the old feature request form, but apparently it didn't get migrated.
The text was updated successfully, but these errors were encountered: