I get 15 points (x,y,z) per second and I want to show the progress in a window (more and more points in the window).
If I call the glutMainLoop, i can’t come back in the program flow. But I have to calculate a new point in the next turn before I have to update the window.
calculate 1 point -> update window with all other points -> calculate next 1 point -> …
can anyone give me a hint to solve this problem?