Set color of ball to green

This commit is contained in:
hasufell 2014-06-01 19:20:25 +02:00
parent b24cef011c
commit 919436f997
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ static void draw_ball(const bez_curv *bez,
const float ball_pos = pos;
glPushMatrix();
glColor3f(0.0, 1.0, 0.0);
vector *point = calculate_bezier_point(bez,
ball_pos);
glTranslatef(point->x, point->y, point->z);