From: James Bunton Date: Mon, 25 Jun 2007 15:36:50 +0000 (+0000) Subject: The ball is now a slug. X-Git-Url: https://code.delx.au/pong/commitdiff_plain/6c1893c335f49f5a595e04b66c18dc88f8b5cff3 The ball is now a slug. --- diff --git a/pong.c b/pong.c index 09bf9d4..4ecaa8a 100644 --- a/pong.c +++ b/pong.c @@ -165,9 +165,9 @@ static void gameDisplay(void) { glEnd(); // Draw the ball - glPointSize(5.0); - glBegin(GL_POINTS); + glBegin(GL_LINES); glVertex2d(ballX, ballY); + glVertex2d(ballX - ballVecX, ballY - ballVecY); glEnd(); // Write the score