When constructing an orientation matrix, are the rows of the matrix the axis?
The matrix is row-major and I'm multiplying vectors on the right (Mv). So, the matrix looks like
r0c0 r0c1 r0c2 r1c0 r1c1 r1c2 r2c0 r2c1 r2c2
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.Sign up to join this community
From a mathematical point of view, it depends on in which order you are multiplying the vectors with the matrix.
v) and multiplying it with a matrix (
v∙A, then the rows will act as the axes.
v) and multiplying a matrix (
A) with it as
A∙v, then the columns will act as the axes.