3
\$\begingroup\$

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
\$\endgroup\$
9
\$\begingroup\$

From a mathematical point of view, it depends on in which order you are multiplying the vectors with the matrix.

  • Using a row-vector (v) and multiplying it with a matrix (A) as v∙A, then the rows will act as the axes.
  • Using a column-vector (v) and multiplying a matrix (A) with it as A∙v, then the columns will act as the axes.
\$\endgroup\$
2
\$\begingroup\$

That depends, if it is in row major form then yes, for column major form no.

Where does this matrix come from?

\$\endgroup\$
1
  • \$\begingroup\$ Please elaborate. Did I give you enough info to do so? \$\endgroup\$
    – zooropa
    Dec 2 '10 at 14:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .