getUnWrappedPosition

fun getUnWrappedPosition(position: Vector2): Vector2

Returns the closest position to (0, 0) outside the map which can be wrapped to the position of the given vector

Sources

jvm source
Link copied to clipboard