You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting!
And, sorry about that. It is a bug about the Matrix4f.set(col, row, value) method not resetting the assumptions about the matrix properties, that are stored in the properties field in order to route/accelerate further operations.
It has been fixed for 1.10.6, which you can use right now with 1.10.6-SNAPSHOT or in the actual 1.10.6 release later.
Generally, manually setting any matrix field is highly discouraged, because it will break optimized matrix operations afterwards, which then always have to make no assumptions anymore and use the most general operation implementations.
In order to "reestablish" the properties of a matrix, there is the method determineProperties(), but this is not able to determine all properties of a matrix, such as orthogonality. So, this can be called after setting all matrix fields manually, to get back at least some performance for further operations.
Hi, I've come across some weird behavior in my Java project related to transposing matrices, and I'm not sure how to go about debugging it.
This gives me the output:
which is unexpected (expected behavior is to see the matrix transposed).
But if I do this:
I get this:
Expected behavior is that the matrix is transposed.
However, if I initialize the matrix like so:
then I get the expected behavior:
My build.gradle includes this:
implementation 'org.joml:joml:1.10.5'
Can anyone reproduce / tell me what's going on?
The text was updated successfully, but these errors were encountered: