PDA

View Full Version : help me plzzzzzzz



nisoo
11-15-2009, 03:00 PM
hey all ... :)
anybody can hlep me

i wanna solve this :(

"
-> develop a clock using OpenGl with the following spesifications:

- when the program is run the clock should be drawn inside the window and
display the current time with the seconds indicator color changed randomly after each minute.
note=>the clock is analog and in a circular shape
"

mlfarrell
11-15-2009, 03:54 PM
haha you want somebody on here to do your homework for you? Try buying the opengl red book and actually learning this stuff, you'll be happy you did.

AdrianPi
11-15-2009, 06:42 PM
glBegin(CLOCK_PLEASE);
time = timeGetTime();
glVertex2f(cosf(time), sinf(time));
glEnd();