mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-19 01:38:22 +00:00
Viewporter implementaion (#585)
Implementation of the `wp_viewporter` core protocol and some bugfixes
This commit is contained in:
@@ -35,6 +35,10 @@ class Vector2D {
|
||||
return a.x != x || a.y != y;
|
||||
}
|
||||
|
||||
Vector2D operator*(const Vector2D& a) const {
|
||||
return Vector2D(this->x * a.x, this->y * a.y);
|
||||
}
|
||||
|
||||
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D());
|
||||
|
||||
Vector2D floor();
|
||||
|
Reference in New Issue
Block a user