diff options
Diffstat (limited to 'src/helpers/Vector2D.hpp')
| -rw-r--r-- | src/helpers/Vector2D.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/Vector2D.hpp b/src/helpers/Vector2D.hpp index 17415289..c79c967c 100644 --- a/src/helpers/Vector2D.hpp +++ b/src/helpers/Vector2D.hpp @@ -61,6 +61,7 @@ class Vector2D { Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D()) const; Vector2D floor() const; + Vector2D round() const; bool inTriangle(const Vector2D& p1, const Vector2D& p2, const Vector2D& p3) const; }; |
