giulioforesto / planets

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

Miss masses updates when skipping frames #6

Closed giulioforesto closed 9 years ago

giulioforesto commented 9 years ago

The current code reads entirely only the first frame it is supposed to display, skipping those that are obsolete (case where the representation speed is higher than the simulation frame rate).

Possible solution : (read and) update mass even if frame is not displayed

Solution of outputting from simulation masses at each frame even if they are unchanged should be avoided.

giulioforesto commented 9 years ago

Solution implemented.
Bug fixed.