Hacker News new | past | comments | ask | show | jobs | submit login

Using zero as a default (the main topic of this article) is one thing... I'm pointing out that floating point is able to represent points with greater density near Null Island than it is in, say, Alaska, just due to the spacing between pronounceable coordinates.



Games also have this issue, with some creative solutions.

Paraphrasing a GDC talk, in Outer Wilds space travel would not work properly -- in that the player character would move around a dynamic solar system with a pivot point and planets moving about. Instead they made the player the world origin (0, 0, 0), and the player 'moving' actually moved the world around instead, thus moving objects were tracked more accurately the closer they are to you!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: