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

View file

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