Files
j3ml/include/J3ML/LinearAlgebra/Angle2D.h
Redacted a5c96e8cae
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 1m10s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 35s
Dependency Reconfiguration to support MSVC being picky :/
2024-06-16 23:02:32 -07:00

24 lines
395 B
C++

#pragma once
#include <J3ML/J3ML.h>
namespace J3ML::LinearAlgebra {
class Angle2D {
public:
float x;
float y;
Angle2D(Math::Rotation rads);
Angle2D(float X, float Y)
{
x = X;
y = Y;
}
bool operator==(const Angle2D& rhs) const {
return (this->x==rhs.x && this->y==rhs.y);
}
};
}