radian <-> degree unit conversions were missing

This commit is contained in:
Kilrah
2019-09-13 10:07:02 +02:00
parent dec14ab0b3
commit 3336298d22
@@ -599,6 +599,10 @@ const UnitConversionRule unitConversionTable[] = {
{ UNIT_KMH, UNIT_FEET_PER_SECOND, 911, 1000}, // 1 km/h = 0.911344415 feet per second { UNIT_KMH, UNIT_FEET_PER_SECOND, 911, 1000}, // 1 km/h = 0.911344415 feet per second
{ UNIT_MILLILITERS, UNIT_FLOZ, 100, 2957}, { UNIT_MILLILITERS, UNIT_FLOZ, 100, 2957},
{ UNIT_RADIANS, UNIT_DEGREE, 10000, 175}, // 1 rad = 57.29578 deg
{ UNIT_DEGREE, UNIT_RADIANS, 175, 10000}, // 1 deg = ‪0,0174533‬ rad
{ 0, 0, 0, 0} // termination { 0, 0, 0, 0} // termination
}; };