Files
0ad/binaries
Fabio Pedretti 25592e9f5d Avoid Vector2D allocations in the inner loops
Every neighbor sample created a new Vector2D and went through
validHeight() and getHeight(). Use plain integer coordinates, an inline
bounds check and direct access to the height array instead, which also
removes the per-vertex allocation and the setHeight() call.
2026-10-10 16:42:53 +02:00
..
…