mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 20:56:00 +08:00
fix bug #415: wrong return in Rotation2D::operator*=
(transplanted from 5bb34fd14c74021314744cb1d4a82a39449359cf )
This commit is contained in:
parent
b9e2b4f6f5
commit
503cf43556
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user