getEquivalentRectangularSize
fun getEquivalentRectangularSize(size: Int, ratio: Float = 0.65f): Vector2
Content copied to clipboard
returns a vector containing width and height a rectangular map should have to have approximately the same number of tiles as an hexagonal map given a height/width ratio
Sources
jvm source
Link copied to clipboard