after running ./masssprings .....
I press 'A' to toggle the animation, but the spring just disappears, and nothing left on the screen but background color.
Anyone meet the same issue?
This likely means that all your positions are infinity or NaN. Try using a debugger and run the simulation for one timestep (use spacebar to do this) and look at Unext.
after running ./masssprings ..... I press 'A' to toggle the animation, but the spring just disappears, and nothing left on the screen but background color. Anyone meet the same issue?