Browse Source

Fix name of Rect::getRight()

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
9c9daedcd9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/math.hpp

+ 1
- 1
include/math.hpp View File

@@ -279,7 +279,7 @@ struct Rect {
bool isEqual(Rect r) const {
return pos.isEqual(r.pos) && size.isEqual(r.size);
}
float getLeft() const {
float getRight() const {
return pos.x + size.x;
}
float getBottom() const {


Loading…
Cancel
Save