From f730e6d9814d064b88943243f1ccb403308d7dbd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 14 Nov 2002 09:06:54 +0000 Subject: [PATCH] Mitered edges look bad with sharp angles; make GrooveRadar use rounded edges instead. This also lets us use lines instead of polys, which have cheap antialiasing on a lot of hardware, which makes the radar look a lot better. --- stepmania/src/GrooveRadar.cpp | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/stepmania/src/GrooveRadar.cpp b/stepmania/src/GrooveRadar.cpp index 8a64d4fe6f..13d36f6c3c 100644 --- a/stepmania/src/GrooveRadar.cpp +++ b/stepmania/src/GrooveRadar.cpp @@ -175,30 +175,23 @@ void GrooveRadar::GrooveRadarValueMap::DrawPrimitives() DISPLAY->DrawFan( v, 7 ); - // - // use a strip to draw the thick line + // use a line loop to draw the thick line // - for( i=0; iDrawStrip( v, 12 ); + DISPLAY->DrawLoop( v, NUM_RADAR_CATEGORIES, RADAR_EDGE_WIDTH ); } }