Converts a world-space (x, z) point to the nearest hex cell. Useful for cursor-to-hex picking on a flat map; for elevated terrain prefer pickHexFromMeshes which raycasts the actual geometry.
pickHexFromMeshes
Converts a world-space (x, z) point to the nearest hex cell. Useful for cursor-to-hex picking on a flat map; for elevated terrain prefer
pickHexFromMesheswhich raycasts the actual geometry.