Use the intrinsic function 'transpose(m)' to calculate the transpose of matWorldInv like so :
Code:
 
transpose(matWorldInv);



Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB