common: Implement TimeAndPos::distance_cm().
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 19 Jan 2020 18:57:42 +0000 (19:57 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 19 Jan 2020 20:34:38 +0000 (21:34 +0100)
commit80ab8c86d93777354b2d780784ebb6e025d6147e
treef1447b79cd173d62cfcb4f84f7ccd9c3b9c1570b
parentc4d55664636e0df02fa19c079c4d9367e2d25917
common: Implement TimeAndPos::distance_cm().

Calculates the distance between two points in cm.
src/common/gps.rs
test/gps_test.rs