mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Fix 2 typos.
This commit is contained in:
parent
397459ce7b
commit
bfa4a96c2a
@ -207,10 +207,10 @@ Vector2 Vector2::operator-() const {
|
||||
}
|
||||
|
||||
bool Vector2::operator==(const Vector2 &b) const {
|
||||
return x == b.x && y == y;
|
||||
return x == b.x && y == b.y;
|
||||
}
|
||||
bool Vector2::operator!=(const Vector2 &b) const {
|
||||
return x != b.x || y == b.y;
|
||||
return x != b.x || y != b.y;
|
||||
}
|
||||
|
||||
const float &Vector2::operator[](int axis) const {
|
||||
|
Loading…
Reference in New Issue
Block a user