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:
parent
cb9b7b8862
commit
a7985058ff
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue