oops (rm commented code)

This commit is contained in:
Gael Guennebaud 2010-11-01 09:40:33 +01:00
parent c7eda0d866
commit d2e257cb5d

View File

@ -176,7 +176,7 @@ AngleAxis<Scalar>& AngleAxis<Scalar>::operator=(const QuaternionBase<QuatDerived
} }
else else
{ {
m_angle = Scalar(2)*std::acos(q.w()/*/internal::sqrt(n2+q.w()*q.w())*/); m_angle = Scalar(2)*std::acos(q.w()/internal::sqrt(n2+q.w()*q.w()));
m_axis = q.vec() / internal::sqrt(n2); m_axis = q.vec() / internal::sqrt(n2);
} }
return *this; return *this;