giulioforesto / planets

A 2D plotted planets movement simulator
0 stars 0 forks source link

Speed offset #15

Closed giulioforesto closed 9 years ago

giulioforesto commented 9 years ago

Algorithmic bug in method Data.getNextDataFrame(): minimum speed is simulation speed because method returns at least the next frame. In other words, program never waits to get the next frame if it is going faster than the requested time speed, so it goes at least at the input file speed (aka "simulation speed"), according to the constant frame rate of 30 (FRAME_RAE_PARAM).