lerp fix 3

This commit is contained in:
Dander7BD 2014-01-21 12:11:30 +01:00
parent 0d39240fc2
commit 65db1bf90d
1 changed files with 1 additions and 0 deletions

View File

@ -745,6 +745,7 @@ namespace LinearAlgebra3D
rotation.v[0].Normalize(); rotation.v[0].Normalize();
rotation.v[1] = normalizedAxis; rotation.v[1] = normalizedAxis;
rotation.v[2].xyz = rotation.v[0].xyz.Cross( rotation.v[1].xyz ); rotation.v[2].xyz = rotation.v[0].xyz.Cross( rotation.v[1].xyz );
return rotation;
} }
template<typename ScalarType> template<typename ScalarType>