这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions SpaceCadetPinball/DebugOverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -340,7 +340,7 @@ void DebugOverlay::DrawEdge(TEdgeSegment* edge)
auto circle = dynamic_cast<TCircle*>(edge);
if (circle)
{
DrawCicleType(circle->Circle);
DrawCircleType(circle->Circle);
return;
}

Expand All @@ -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);
}
}
2 changes: 1 addition & 1 deletion SpaceCadetPinball/DebugOverlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DebugOverlay
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();
Expand Down