fix bug #415: wrong return in Rotation2D::operator*=

(transplanted from 5bb34fd14c74021314744cb1d4a82a39449359cf
)
This commit is contained in:
Gael Guennebaud 2012-02-08 21:50:51 +01:00
parent b9e2b4f6f5
commit 503cf43556

View File

@ -89,7 +89,7 @@ public:
/** Concatenates two rotations */
inline Rotation2D& operator*=(const Rotation2D& other)
{ return m_angle += other.m_angle; return *this; }
{ m_angle += other.m_angle; return *this; }
/** Applies the rotation to a 2D vector */
Vector2 operator* (const Vector2& vec) const