mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 13:15:57 +08:00
fix issue #36 (missing return *this in Rotation2D
(transplanted from a4f664251863907604d43be70a41cc4c1dddd42a )
This commit is contained in:
parent
c9f7a19053
commit
4a50ee8c21
@ -85,7 +85,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 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user