diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-27 23:35:05 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-27 23:35:05 +0200 |
commit | 619a78c85048be3a92253d680fcb48b5c8a7d820 (patch) | |
tree | e5df03ad0a0a6b1d1601a4a00269a14c508b2bc0 /core/src/ch/asynk/tankontank/game/Hex.java | |
parent | 90540cdf46b9a04af48926bcba2d971a54b6d640 (diff) | |
download | RustAndDust-619a78c85048be3a92253d680fcb48b5c8a7d820.zip RustAndDust-619a78c85048be3a92253d680fcb48b5c8a7d820.tar.gz |
go from orthogonal coordinates to skew coordinates
- X axis follows the north, tiles in the same row have the same Y
- Y axis follows the south-west, tiles in that column have the same X
this complicates the transormation from tiles coordinates into array offset,
but eases movement computation and should be more than usefull for line
of sight computaion
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/Hex.java')
0 files changed, 0 insertions, 0 deletions