diff --git a/SpaceCadetPinball/DebugOverlay.cpp b/SpaceCadetPinball/DebugOverlay.cpp index cdee9b3..ba2f74b 100644 --- a/SpaceCadetPinball/DebugOverlay.cpp +++ b/SpaceCadetPinball/DebugOverlay.cpp @@ -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(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); } } diff --git a/SpaceCadetPinball/DebugOverlay.h b/SpaceCadetPinball/DebugOverlay.h index af01689..2bb009b 100644 --- a/SpaceCadetPinball/DebugOverlay.h +++ b/SpaceCadetPinball/DebugOverlay.h @@ -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();