Commit 21f6f7bc authored by Mike Kremer's avatar Mike Kremer
Browse files

Corrected scalar type to match the one encapsulated in the vector type.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13032 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 74c07e9b
......@@ -806,7 +806,7 @@ bool
rotationOfTwoVectors( const Vec& _v0,
const Vec& _v1,
Vec& _axis,
typename Vec::Scalar& _angle ) {
typename Vec::value_type& _angle ) {
// Normalize axes
Vec v0 = _v0.normalize();
......
......@@ -128,7 +128,7 @@ bool
rotationOfTwoVectors( const Vec& _v0,
const Vec& _v1,
Vec& _axis,
typename Vec::Scalar& _angle );
typename Vec::value_type& _angle );
/** \brief Get determinant of matrix [_v1, _v2, _v3]
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment