hex coords unit tests wip
Some checks failed
Rust / build (push) Failing after 4s

This commit is contained in:
2026-03-14 20:56:06 -04:00
parent 13a74f7620
commit 227b654e50
9 changed files with 18 additions and 14 deletions

View File

@@ -55,7 +55,7 @@ impl NavData
{
for x in 0..w
{
let coord = HexCoord::from_grid_pos(x, y);
let coord = HexCoord::from_offset_pos(x, y);
let height = map.sample_height(&coord);
let tile = NavTile {
coord,
@@ -83,7 +83,7 @@ impl NavData
{
for x in 0..w
{
let coord = HexCoord::from_grid_pos(x, y);
let coord = HexCoord::from_offset_pos(x, y);
let height = map.sample_height(&coord);
let tile = NavTile {
coord,