mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-19 09:48:24 +00:00
input basics
This commit is contained in:
@@ -26,4 +26,15 @@ class Vector2D {
|
||||
Vector2D operator/(float a) {
|
||||
return Vector2D(this->x / a, this->y / a);
|
||||
}
|
||||
|
||||
bool operator==(Vector2D& a) {
|
||||
return a.x == x && a.y == y;
|
||||
}
|
||||
|
||||
bool operator!=(Vector2D& a) {
|
||||
return a.x != x || a.y != y;
|
||||
}
|
||||
|
||||
|
||||
Vector2D floor();
|
||||
};
|
Reference in New Issue
Block a user