X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Froute%2Fwaypoint.hxx;h=275d648e6811b822ed4941dd92d74eb1e3ebbe32;hb=7311dae4838a2745a581bb1c347e95782ff02606;hp=29edf7397c24e44a184c76d8bbd5da378ed1f49a;hpb=ff95af03671d4b43c252ad4f19ccf8d76098c9ca;p=simgear.git diff --git a/simgear/route/waypoint.hxx b/simgear/route/waypoint.hxx index 29edf739..275d648e 100644 --- a/simgear/route/waypoint.hxx +++ b/simgear/route/waypoint.hxx @@ -130,6 +130,12 @@ public: inline const SGGeod& get_target() const { return pos; } + /** + * + */ + inline void setTargetAltFt(double elev) + { pos.setElevationFt(elev); } + /** * This value is not calculated by this class. It is simply a * placeholder for the user to stash a distance value. This is useful