void DrawCircle(float x, float y, float r, int color, float resolution)
{
float PointX = 0.f;
float PointY = 0.f;
for (int i = 0; i <= resolution; ++i)
{
float X = x + r * cos(2 * 3.14159265358979323846264 * i / resolution);
float Y = y - r * sin(2 * 3.14159265358979323846264 * i / resolution);
if (i > 0) DrawLine(X, Y, PointX, PointY, color);
PointX = X; PointY = Y;
}
}
void RenderFOV(){
DrawCircle(pRenderer->GetWidth() / 2, pRenderer->GetHeight() / 2, FovSize, Color(255, 255, 255, 255), 200);
}