X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Froute%2Fwaypoint.hxx;h=275d648e6811b822ed4941dd92d74eb1e3ebbe32;hb=7bdb530440d1dadc991f305edb1b70ec85f27451;hp=29edf7397c24e44a184c76d8bbd5da378ed1f49a;hpb=6d1d3173fef50d38244a652543dab3e275193533;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