diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2018-12-12 18:36:53 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2018-12-21 14:10:41 +0300 |
commit | e5dfb5260b64adc2b403070cf979f64dee79de01 (patch) | |
tree | e0ab24c196cdcdba6fe0686865ebee336f29be66 /platform | |
parent | 0006dc29177d10795069a5b828b2b570b2afb1c4 (diff) |
[routing] add stat about speedcams from core to alohag
Diffstat (limited to 'platform')
-rw-r--r-- | platform/measurement_utils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/measurement_utils.hpp b/platform/measurement_utils.hpp index f085d7b650..620f41d607 100644 --- a/platform/measurement_utils.hpp +++ b/platform/measurement_utils.hpp @@ -28,6 +28,7 @@ inline double MetersToMiles(double m) { return m * 0.000621371192; } inline double MilesToMeters(double mi) { return mi * 1609.344; } inline double MphToKmph(double mph) { return MilesToMeters(mph) / 1000.0; } inline double KmphToMph(double kmph) { return MetersToMiles(kmph * 1000.0); } +inline double MpsToKmph(double mps) { return mps * 3.6; } inline double MetersToFeet(double m) { return m * 3.2808399; } inline double FeetToMeters(double ft) { return ft * 0.3048; } inline double FeetToMiles(double ft) { return ft * 5280; } |