forked from mpusz/mp-units
refactor(example): msl_altitude moved to geographic.h and the header file was moved to another dir in examples
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace geographic;
|
||||
using namespace glide_computer;
|
||||
|
||||
using namespace mp_units;
|
||||
|
||||
auto get_gliders()
|
||||
@@ -67,8 +67,8 @@ auto get_waypoints()
|
||||
using namespace geographic::literals;
|
||||
using namespace mp_units::international::unit_symbols;
|
||||
static const std::array waypoints = {
|
||||
waypoint{"EPPR", {54.24772_N, 18.6745_E}, altitude{16. * ft}}, // N54°14'51.8" E18°40'28.2"
|
||||
waypoint{"EPGI", {53.52442_N, 18.84947_E}, altitude{115. * ft}} // N53°31'27.9" E18°50'58.1"
|
||||
waypoint{"EPPR", {54.24772_N, 18.6745_E}, msl_altitude{16. * ft}}, // N54°14'51.8" E18°40'28.2"
|
||||
waypoint{"EPGI", {53.52442_N, 18.84947_E}, msl_altitude{115. * ft}} // N53°31'27.9" E18°50'58.1"
|
||||
};
|
||||
return waypoints;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user