mirror of
https://github.com/hyprwm/hyprutils.git
synced 2026-05-23 08:38:20 +02:00
some more shit and include remove
This commit is contained in:
parent
65c8b4f132
commit
a21574c23d
3 changed files with 1 additions and 6 deletions
|
|
@ -10,7 +10,7 @@ namespace Hyprutils::Math {
|
|||
public:
|
||||
Vector2D(double, double);
|
||||
Vector2D(int, int);
|
||||
Vector2D();
|
||||
Vector2D() = default;
|
||||
~Vector2D();
|
||||
|
||||
double x = 0;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#include <algorithm>
|
||||
#include <hyprutils/string/String.hpp>
|
||||
|
||||
using namespace Hyprutils::String;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue