diff options
Diffstat (limited to 'src/helpers/Vector2D.hpp')
| -rw-r--r-- | src/helpers/Vector2D.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Vector2D.hpp b/src/helpers/Vector2D.hpp index 7288a088..7ca52a68 100644 --- a/src/helpers/Vector2D.hpp +++ b/src/helpers/Vector2D.hpp @@ -35,5 +35,7 @@ class Vector2D { return a.x != x || a.y != y; } + Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D()); + Vector2D floor(); };
\ No newline at end of file |
