Implement Circle header, rename all files to use .hpp extension.

This commit is contained in:
2024-07-31 14:22:10 -04:00
parent 3e607d310d
commit a3d4562dec
88 changed files with 489 additions and 256 deletions

View File

@@ -0,0 +1,23 @@
#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);
}
};
}