diff options
author | Sven Gothel <[email protected]> | 2012-05-11 22:38:56 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-05-11 22:38:56 +0200 |
commit | cbc77718f01a8190e1a8aa0e9afdc2a3a3403358 (patch) | |
tree | 5db389ae484b24965e5a0feb3448b1c5563be163 /src/newt/native/MacWindow.m | |
parent | d887fa4c36c97676d845d2d95c33025ad8f9f006 (diff) |
Fix regression of commit de2b129a56335262a44a05541a3ab2e35668cc6e: ProjectFloat Matrix Multiplication of gluUnProject(..) impl.
ProjectFloat's previous gluMultMatricesf(..) used row-major order,
but the replacement multMatrixf(..) uses column-major order (like OpenGL, ..).
Note: The replaced 'gluMultMatrixVecf' by multMatrixVecf() already
used column-major order.
Fix: Reverse the arguments of matrix multiplication
m1 x m2 -> m2 x m1
Added proper API documentation in FloatUtil -> Column Major Order of Linear Matrix Layout
Diffstat (limited to 'src/newt/native/MacWindow.m')
0 files changed, 0 insertions, 0 deletions