doc + quick bug fix in Matrix ctor

This commit is contained in:
Gael Guennebaud
2008-08-28 00:33:58 +00:00
parent f7de12de69
commit 70266b4d05
7 changed files with 30 additions and 15 deletions

View File

@@ -161,8 +161,7 @@ public:
{ return m_angle += other.m_angle; }
/** Applies the rotation to a 2D vector */
template<typename Derived>
Vector2 operator* (const MatrixBase<Derived>& vec) const
Vector2 operator* (const Vector2& vec) const
{ return toRotationMatrix() * vec; }
template<typename Derived>