some more shit and include remove

This commit is contained in:
Honkazel 2025-02-02 19:06:13 +05:00
parent 65c8b4f132
commit a21574c23d
3 changed files with 1 additions and 6 deletions

View file

@ -10,7 +10,7 @@ namespace Hyprutils::Math {
public:
Vector2D(double, double);
Vector2D(int, int);
Vector2D();
Vector2D() = default;
~Vector2D();
double x = 0;

View file

@ -12,10 +12,6 @@ Hyprutils::Math::Vector2D::Vector2D(int xx, int yy) : x((double)xx), y((double)y
;
}
Hyprutils::Math::Vector2D::Vector2D() {
;
}
double Hyprutils::Math::Vector2D::normalize() {
// get max abs
const auto max = std::abs(x) > std::abs(y) ? std::abs(x) : std::abs(y);

View file

@ -1,4 +1,3 @@
#include <algorithm>
#include <hyprutils/string/String.hpp>
using namespace Hyprutils::String;