Which formular does dgraph use for geo queries - will dgraph geo queries work even in mountain regions?

Hi, which formular does dgraph use? Haversine? Vincenty?

Will they still work fine without big inaccuracy in regions where cities and so on are on big mountains and kilometers above the sea level?