mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
AFV initial commit
This commit is contained in:
committed by
Mat Sutcliffe
parent
7030302e73
commit
b5a2f2ad13
15
src/blackcore/afv/constants.h
Normal file
15
src/blackcore/afv/constants.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef CONSTANTS_H
|
||||
#define CONSTANTS_H
|
||||
|
||||
constexpr double MilesToMeters = 1609.34;
|
||||
constexpr double MetersToFeet = 3.28084;
|
||||
constexpr double FeetToMeters = 0.3048;
|
||||
constexpr double NauticalMilesToMeters = 1852;
|
||||
constexpr double MetersToNauticalMiles = 0.000539957;
|
||||
constexpr double RadToDeg = 57.295779513082320876798154814105;
|
||||
constexpr double DegToRad = 0.01745329251994329576923690768489;
|
||||
|
||||
constexpr int c_channelCount = 1;
|
||||
constexpr int c_sampleRate = 48000;
|
||||
|
||||
#endif // CONSTANTS_H
|
||||
Reference in New Issue
Block a user