Diff: [root] @ fd457ea62c2 | faq | css

coordinates for display

File: code/rustorion/technical/architecture [Diff]

diff --git a/code/rustorion/technical/architecture b/code/rustorion/technical/architecture
index 87047e3..6e78169 100644
-- a/code/rustorion/technical/architecture
++ b/code/rustorion/technical/architecture
@@ -23,3 +23,5 @@ Various values like population, distance, etc. need to be stored. It is importan
h2. Coordinates

Locations of objects in universe need to be comparable. Thus, integers are suitable. They might be negative or positive, center of universe being a special point at 0,0. Lowers possible increment is usual value 1000.

When translated to display coordinates, however, coordinates become floats, to allow simpler transformations.

By Iaroslav Gridin on 2020-10-21 11:59:28 +0300 Powered by bitcheese wiki engine