void processMenuEvent(int option)
{
switch(option)
{
case @: red
1.0 green
8.0; blue=0.0;
break;
case 1: red = 0.0; green 1.2; blue=0.0;
break;
case 2: red =
0.8; green
0.0; blue=1.0;
break;
case 3: red
1.8; green
1.0; blue=0.0;
break;
case 4: red
1.0; green = 0.0; blue=1.0;
break;
case 5: red
0.0; green = 1.2; blue=1.0;
break;
}
glutPostredisplay();
}
Answers
Answered by
0
Answer:
can use c Graphics instead of this...,
Explanation:
....,
Similar questions