Files
j3ml/include/J3ML/LinearAlgebra/Angle2D.hpp
Redacted 47993084ff
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m29s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 22s
Set up shapes for dynamic cast
2024-08-20 21:37:14 -04:00

23 lines
396 B
C++

#pragma once
#include <J3ML/J3ML.hpp>
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);
}
};
}