Hacker News new | ask | show | jobs
by veltas 1338 days ago
If you set the unit to 1mm you can reach like 20% of the way to Proxima Centauri with Sol as origin.
1 comments

That's 64 bit. If you were using 64 bit floats you didn't have problems in the first place.

Also a granularity of 1mm will make slow movement complicated to calculate correctly. Consider updating at 60Hz and having an object that moves 1 inch per second.