Post edit history
what is higest mountain and deepest sea in this game map?
Before | After | ||
---|---|---|---|
1 | Floats do have limited accuracy, but the integral part will be perfectly precise up to 16777215, and maps are usually about 8000-12000 elmos across and a few thousand high, so there's easily a few digits for floats in fractional. | 1 | Floats do have limited accuracy, but the integral part will be perfectly precise up to 16777215, and maps are usually about 8000-12000 elmos across and a few thousand high, so there's easily a few digits for floats in fractional. |
2 | \n | 2 | \n |
3 | The other option would be to simply have a float offset for the fractional part between integral map coordinates for units. Would guarantee accuracy of integral part up to ±2^31 or ±2^63. | 3 | The other option would be to simply have a float offset for the fractional part between integral map coordinates for units ( using a double to combine them) . Would guarantee accuracy of integral part up to ±2^31 or ±2^63. |