We have a 20km x 20km map, and floats do NOT cut it in the corners of the map.
Memory usage isn't awful these days. Give us some precision!
We have a 20km x 20km map, and floats do NOT cut it in the corners of the map.
Memory usage isn't awful these days. Give us some precision!
Use floating point numbers
A stupid example when done within the game.
float j = (Math.Round(14162.814453 * 1000) / 1000); -> 14162.8
float k = ((Math.Round(15258.742187 * 1000) * 0.001)); -> 15258.7
Rounding to 3rd digit.
No need of exponentials or triangulation to show how much the error propagates with enscript floats.