mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
feat: MVP done for Weather Information Display
This commit is contained in:
committed by
Dan Albert
parent
59bd4541c4
commit
02e7ab41b4
@@ -16,3 +16,10 @@ def nm_to_meter(value_in_nm: float) -> int:
|
||||
|
||||
def knots_to_kph(knots: float) -> int:
|
||||
return int(knots * 1.852)
|
||||
|
||||
def mps_to_knots(mps: float) -> int:
|
||||
"""Converts Meters Per Second To Knots
|
||||
|
||||
:arg mps Meters Per Second
|
||||
"""
|
||||
return int(mps * 1.943)
|
||||
Reference in New Issue
Block a user