pub fn planet_distance(
radius: f32,
coord1: &(f32, f32),
coord2: &(f32, f32),
) -> f32
Expand description
Calculates the distance between two coords using the give planet radius, which can be given in any scale (so you can use meters or kilometers and the result will use the same scale)