Set color of ball to green

This commit is contained in:
2014-06-01 19:20:25 +02:00
parent b24cef011c
commit 919436f997

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);