Fixed Error in operators
This commit is contained in:
parent
f86246eca5
commit
171c582225
|
@ -65,7 +65,7 @@ namespace sf
|
||||||
Vector2& operator*=(T right)
|
Vector2& operator*=(T right)
|
||||||
{
|
{
|
||||||
x *= right;
|
x *= right;
|
||||||
y *= left;
|
y *= right;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ namespace sf
|
||||||
Vector2& operator/=(T right)
|
Vector2& operator/=(T right)
|
||||||
{
|
{
|
||||||
x /= right;
|
x /= right;
|
||||||
y /= left;
|
y /= right;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue