1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-17 07:10:18 +01:00

fix cicle typo in DebugOverlay

This commit is contained in:
Benjamin Funke 2024-09-29 13:18:07 +02:00
parent cb9b7b8862
commit a7985058ff
2 changed files with 5 additions and 5 deletions

View file

@ -295,7 +295,7 @@ void DebugOverlay::DrawComponentAabb()
}
}
void DebugOverlay::DrawCicleType(circle_type& circle)
void DebugOverlay::DrawCircleType(circle_type& circle)
{
vector2 linePt{ circle.Center.X + sqrt(circle.RadiusSq), circle.Center.Y };
auto pt1 = proj::xform_to_2d(circle.Center);
@ -340,7 +340,7 @@ void DebugOverlay::DrawEdge(TEdgeSegment* edge)
auto circle = dynamic_cast<TCircle*>(edge);
if (circle)
{
DrawCicleType(circle->Circle);
DrawCircleType(circle->Circle);
return;
}
@ -352,7 +352,7 @@ void DebugOverlay::DrawEdge(TEdgeSegment* edge)
DrawLineType(flip->LineA);
DrawLineType(flip->LineB);
DrawCicleType(flip->circlebase);
DrawCicleType(flip->circleT1);
DrawCircleType(flip->circlebase);
DrawCircleType(flip->circleT1);
}
}

View file

@ -13,7 +13,7 @@ public:
private:
static gdrv_bitmap8* dbScreen;
static void DrawCicleType(circle_type& circle);
static void DrawCircleType(circle_type& circle);
static void DrawLineType(line_type& line);
static void DrawEdge(TEdgeSegment* edge);
static void DrawBoxGrid();