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 gb_float22_mul_vec2 expects a row-major matrix, instead of column-major. The gbMat struct is column-major, and the operator gbVec2 operator*(gbMat2 const& a, gbVec2 v) implies we're multiplying a matrix with a column vector (and not multiplying a row vector with a matrix).
It looks like
gb_float22_mul_vec2
expects a row-major matrix, instead of column-major. ThegbMat
struct is column-major, and the operatorgbVec2 operator*(gbMat2 const& a, gbVec2 v)
implies we're multiplying a matrix with a column vector (and not multiplying a row vector with a matrix).it think this should be:
The same holds for
gb_float33_mul_vec3
gb_float44_mul_vec4
is ok.The text was updated successfully, but these errors were encountered: