getEquivalentHexagonalRadius

fun getEquivalentHexagonalRadius(width: Int, height: Int): Int

Returns a radius of a hexagonal map that has approximately the same number of tiles as a rectangular map of a given width/height

Sources

jvm source
Link copied to clipboard