mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
core: Move to hyprutils for Math
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
This commit is contained in:
@@ -762,7 +762,7 @@ Vector2D configStringToVector2D(const std::string& VALUE) {
|
||||
if (std::getline(iss, token))
|
||||
throw std::invalid_argument("Invalid string format");
|
||||
|
||||
return Vector2D(x, y);
|
||||
return Vector2D((double)x, (double)y);
|
||||
}
|
||||
|
||||
double normalizeAngleRad(double ang) {
|
||||
|
Reference in New Issue
Block a user