* Fix namespaces and optimize imports * Cleanup fixes * Merge conflict fixes * Merge conflict fixes * Merge conflict fixes
18 lines
403 B
C#
18 lines
403 B
C#
using Content.Shared.Maths;
|
|
|
|
namespace Content.Shared.Utility
|
|
{
|
|
public static class TemperatureHelpers
|
|
{
|
|
public static float CelsiusToKelvin(float celsius)
|
|
{
|
|
return celsius + PhysicalConstants.ZERO_CELCIUS;
|
|
}
|
|
|
|
public static float KelvinToCelsius(float kelvin)
|
|
{
|
|
return kelvin - PhysicalConstants.ZERO_CELCIUS;
|
|
}
|
|
}
|
|
}
|