core: Move to hyprutils for Math
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
This commit is contained in:
parent
6e5804b53d
commit
fb15b7aa2a
76 changed files with 509 additions and 1004 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue