Fix presumed typo in collision reporting.

(The format string contains two %d items, but is only passed a
single int.)
This commit is contained in:
Jeff Young 2023-08-30 23:51:05 +01:00
parent ac7ceb03ee
commit aeb8374ae5
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ int playground_main_func( int argc, char* argv[] )
overlay->Line( closestDist.A, closestDist.B );
overlay->SetLineWidth( 10000 );
overlay->SetGlyphSize( { 100000, 100000 } );
overlay->BitmapText( wxString::Format( "dist=%d, l=%d", closestDist.Length() ),
overlay->BitmapText( wxString::Format( "dist=%d", closestDist.Length() ),
closestDist.A + VECTOR2I( 0, -arcs[i].GetWidth() ),
ANGLE_HORIZONTAL );
}