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
It looks like the Uniform instance for the M44 Float (an alias for V4 (V4 Float)) type from linear assumes a column-major format, but linear itself treats it as row-major. In particular functions such as mkTransformation, lookAt, or perspective that produce matrices with translation components will behave most obviously badly. The rotation component of matrices likely suffer from reversed rotation directions (I did not test for this problem).
The text was updated successfully, but these errors were encountered:
Hm, I didn’t have any issue with this – I don’t annotate my shaders with any major things. Do you have an example of problematic code? Thanks for reporting, by the way! ❤️
It looks like the Uniform instance for the M44 Float (an alias for V4 (V4 Float)) type from linear assumes a column-major format, but linear itself treats it as row-major. In particular functions such as
mkTransformation
,lookAt
, orperspective
that produce matrices with translation components will behave most obviously badly. The rotation component of matrices likely suffer from reversed rotation directions (I did not test for this problem).The text was updated successfully, but these errors were encountered: