[−][src]Function pokemon_rust::map::conversions::world_to_map_coordinates

pub fn world_to_map_coordinates(
    tile: &WorldCoordinates,
    reference_point: &WorldCoordinates
) -> MapCoordinates

Given the position of a tile in World Coordinates and the reference point of its map, calculates the position of the tile in Map Coordinates.