mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix bug #415: wrong return in Rotation2D::operator*=
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
|||||||
|
|
||||||
/** Concatenates two rotations */
|
/** Concatenates two rotations */
|
||||||
inline Rotation2D& operator*=(const Rotation2D& other)
|
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 */
|
/** Applies the rotation to a 2D vector */
|
||||||
Vector2 operator* (const Vector2& vec) const
|
Vector2 operator* (const Vector2& vec) const
|
||||||
|
|||||||
Reference in New Issue
Block a user