Vector: add required header (#126)

Closes: https://github.com/hyprwm/Hypr/issues/125
This commit is contained in:
Sergey Fedorov 2024-03-24 05:15:32 +08:00 committed by GitHub
parent 855ef848fe
commit 67a3d1f42a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#include "Vector.hpp"
#include <cmath>
Vector2D::Vector2D(double xx, double yy) {
x = xx;
@ -16,4 +17,4 @@ double Vector2D::normalize() {
y /= max;
return max;
}
}