Merge branch 'ahmed' into 'main'
This commit is contained in:
@@ -15,6 +15,10 @@ struct Vector2d {
|
||||
*this = *this + v;
|
||||
return *this;
|
||||
}
|
||||
Vector2d operator-=(const Vector2d &v) {
|
||||
*this = *this - v;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Vector2d reverse_sign() { return Vector2d(-x, -y); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user