r2mods/ilspy_dump/ror2_csproj/HGUnitConversions.cs

15 lines
448 B
C#

public static class HGUnitConversions
{
public static readonly double milesToKilometers = 1.609344;
public static readonly double kilometersToMeters = 1000.0;
public static readonly double milesToMeters = milesToKilometers * kilometersToMeters;
public static readonly double hoursToMinutes = 60.0;
public static readonly double minutesToSeconds = 60.0;
public static readonly double hoursToSeconds = hoursToMinutes * minutesToSeconds;
}