Function eos_rs::api::dungeon_mode::get_chebyshev_distance
source · pub fn get_chebyshev_distance(
_ov29: &OverlayLoadLease<29>,
pos1: &position,
pos2: &position
) -> i32
Expand description
Returns the Chebyshev distance between two positions. Calculated as max(abs(x0-x1), abs(y0-y1)).