sousou03 / glmatrix

Automatically exported from code.google.com/p/glmatrix
0 stars 0 forks source link

Matrix element order in quat4.toMat3 #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
This should be fixed in 1.0 now.

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