InverseRotationMatrix fixed

Compiler overstepping its bound, doing whatever it wants.
This commit is contained in:
Dander7BD 2013-12-04 14:22:25 +01:00
parent 7ad60969fc
commit d0936f9133
1 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ namespace Oyster { namespace Math3D
Float4x4 & InverseRotationMatrix( const Float4x4 &rotation, Float4x4 &targetMem )
{
return targetMem = ::LinearAlgebra3D::InverseRotationMatrix( rotation );
// return targetMem = ::LinearAlgebra3D::InverseRotationMatrix( rotation );
return targetMem = rotation.GetTranspose();
}
Float4x4 & OrientationMatrix( const Float3x3 &rotation, const Float3 &translation, Float4x4 &targetMem )