mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-24 18:39:47 +01:00
Vector: add required header (#126)
Closes: https://github.com/hyprwm/Hypr/issues/125
This commit is contained in:
parent
855ef848fe
commit
67a3d1f42a
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue