[−][src]Function pokemon_rust::map::conversions::player_to_map_coordinates
pub fn player_to_map_coordinates(
player_position: &PlayerCoordinates,
reference_point: &WorldCoordinates
) -> MapCoordinates
Given the position of a player and the reference point of its map, calculates the position of its tile in Map Coordinates.