Atom

From Hazeron Wiki
Revision as of 00:54, 22 March 2024 by Celarious (talk | contribs) (cat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.