mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-19 01:38:22 +00:00
added Vector2D::clamp
This commit is contained in:
@@ -35,5 +35,7 @@ class Vector2D {
|
||||
return a.x != x || a.y != y;
|
||||
}
|
||||
|
||||
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D());
|
||||
|
||||
Vector2D floor();
|
||||
};
|
Reference in New Issue
Block a user