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
I've been using glm HEAD from homebrew and encountered a bug in one of the matrix conversion constructors due to the change to initializer lists starting from this version. Specifically, in commit dee806e,
The new implementation would leave the last column as 0 whereas it should be filled with the corresponding column of the 4x4 matrix when converting to 4x3.
This results in a mat4x3 which would have the last row be empty no matter what the mat4 is.
The text was updated successfully, but these errors were encountered:
Hi
I've been using glm HEAD from homebrew and encountered a bug in one of the matrix conversion constructors due to the change to initializer lists starting from this version. Specifically, in commit dee806e,
glm/glm/detail/type_mat4x3.inl
Lines 174 to 186 in dee806e
The initializer list is incorrect and indeed is inconsistent with the old implementation.
The new implementation would leave the last column as 0 whereas it should be filled with the corresponding column of the 4x4 matrix when converting to 4x3.
This results in a mat4x3 which would have the last row be empty no matter what the mat4 is.
The text was updated successfully, but these errors were encountered: