Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit da88c4b2 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

modified kmph to meter per second conversion. faster(?)

parent 8696cac0
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,8 @@ namespace TUGraz.VectoCore.Utils
public static MeterPerSecond KMPHtoMeterPerSecond(this double self)
{
return self.SI().Kilo.Meter.Per.Hour.Cast<MeterPerSecond>();
return SI<MeterPerSecond>(self / 3.6);
//return self.SI().Kilo.Meter.Per.Hour.Cast<MeterPerSecond>();
}
public static double ToRadian(this double self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment