-
Notifications
You must be signed in to change notification settings - Fork 105
Add support for matrix inverses #68
Copy link
Copy link
Closed
Labels
Description
From some discussion on the Handmade Network Discord, the issue of matrix inverses has come up. I think it would be good to beef up Handmade Math's handling of matrices in general (being that we only support mat4), but even just doing inverses of mat4's would be useful.
We would want to expose the determinant calculation as well. Also, not all matrices are invertible, but we could follow the example of the glsl spec and just say that the inverse is undefined for singular matrices.
Reactions are currently unavailable