Hi, Im stuck on drawing points at different times.
I want to draw one set of points for 10 seconds, then another set of points for 10 seconds.
Do I have to implement this in C or is there a way to do it in opengl?
Thanks
Hi, Im stuck on drawing points at different times.
I want to draw one set of points for 10 seconds, then another set of points for 10 seconds.
Do I have to implement this in C or is there a way to do it in opengl?
Thanks
OpenGL is a graphic API there is nothing for timers management.
These opengl based APIs may interest you:
hi, thanks.
GLFW has a way of doing it:
t = glfwGetTime();
printf("
%f", t);
// after 10 seconds pause.
if (t > 10.0 && t < 10.8)
system("pause");