xavirn/glmatrix

Matrix element order in quat4.toMat3

Closed this issue · 1 comments

I was looking at quat4.toMat3 and the formula for quaternion to matrix 
conversion at http://en.wikipedia.org/wiki/Rotation_matrix#Quaternion.

It looks to me like the code in quat4.toMat3 builds the matrix in row-major 
order. Shouldn't it be built in column-major order?

Original issue reported on code.google.com by damianmi...@gmail.com on 26 Jun 2011 at 6:01

This should be fixed in 1.0 now.

Original comment by Tojiro@gmail.com on 9 Oct 2011 at 9:16

  • Changed state: Fixed