Skip to content

Commit

Permalink
Vector: add required header (#126)
Browse files Browse the repository at this point in the history
Closes: #125
  • Loading branch information
barracuda156 authored Mar 23, 2024
1 parent 855ef84 commit 67a3d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helpers/Vector.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "Vector.hpp"
#include <cmath>

Vector2D::Vector2D(double xx, double yy) {
x = xx;
Expand All @@ -16,4 +17,4 @@ double Vector2D::normalize() {
y /= max;

return max;
}
}

0 comments on commit 67a3d1f

Please sign in to comment.