r2mods/ilspy_dump/ror2_csproj/HGUnitConversions.cs

15 lines
448 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
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;
}