Atom

From Hazeron Wiki
Jump to navigation Jump to search

In Hazeron an atom is a C++ object that has a position in the universe.

The position is more than just a 3D Cartesian coordinate. Since that would be too much for game-play precision using 64 bit floating point numbers, which are limited to about 15 digits of accuracy.

Not all atoms are subject to physics. For example, the universe, galaxy, sector and solar system atoms are not affected by gravity or other physics.

Other atoms operate using physics formulae relevant to their role in the universe. For example, worlds orbit using completely different calculations than objects floating freely in a solar system, pulled by gravity.