From 67a3d1f42a3e592b74228ea5c21a87172e36d6e8 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sun, 24 Mar 2024 05:15:32 +0800 Subject: [PATCH] Vector: add required header (#126) Closes: https://github.com/hyprwm/Hypr/issues/125 --- src/helpers/Vector.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/Vector.cpp b/src/helpers/Vector.cpp index 0c2ff76..3c6a78f 100644 --- a/src/helpers/Vector.cpp +++ b/src/helpers/Vector.cpp @@ -1,4 +1,5 @@ #include "Vector.hpp" +#include Vector2D::Vector2D(double xx, double yy) { x = xx; @@ -16,4 +17,4 @@ double Vector2D::normalize() { y /= max; return max; -} \ No newline at end of file +}