mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Fix typo in vector2_base division operator
This commit is contained in:
parent
752b8d6b75
commit
be52fc28c6
|
@ -28,7 +28,7 @@ public:
|
|||
vector2_base operator +(const vector2_base &v) const { return vector2_base(x+v.x, y+v.y); }
|
||||
vector2_base operator *(const T v) const { return vector2_base(x*v, y*v); }
|
||||
vector2_base operator *(const vector2_base &v) const { return vector2_base(x*v.x, y*v.y); }
|
||||
vector2_base operator /(const T v) const { return vector3_base(x/v, y/v); }
|
||||
vector2_base operator /(const T v) const { return vector2_base(x/v, y/v); }
|
||||
vector2_base operator /(const vector2_base &v) const { return vector2_base(x/v.x, y/v.y); }
|
||||
|
||||
const vector2_base &operator =(const vector2_base &v) { x = v.x; y = v.y; return *this; }
|
||||
|
|
Loading…
Reference in a new issue