Home
last modified time | relevance | path

Searched refs:kCoordFactor (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/examples/cpp/route_guide/
Droute_guide_server.cc56 const float kCoordFactor = 10000000.0; in GetDistance() local
57 float lat_1 = start.latitude() / kCoordFactor; in GetDistance()
58 float lat_2 = end.latitude() / kCoordFactor; in GetDistance()
59 float lon_1 = start.longitude() / kCoordFactor; in GetDistance()
60 float lon_2 = end.longitude() / kCoordFactor; in GetDistance()