diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers/Vector2D.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Vector2D.hpp b/src/helpers/Vector2D.hpp index c56e8a04..44eae3f3 100644 --- a/src/helpers/Vector2D.hpp +++ b/src/helpers/Vector2D.hpp @@ -88,7 +88,7 @@ class Vector2D { double distance(const Vector2D& other) const; double size() const; - Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D()) const; + Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D{-1, -1}) const; Vector2D floor() const; Vector2D round() const; |
