Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cicle typo in DebugOverlay #221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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