]> git.mxchange.org Git - simgear.git/commitdiff
Merge branch 'jmt/waypt'
authorTim Moore <timoore33@gmail.com>
Tue, 30 Mar 2010 09:53:13 +0000 (11:53 +0200)
committerTim Moore <timoore33@gmail.com>
Tue, 30 Mar 2010 09:53:13 +0000 (11:53 +0200)
simgear/route/waypoint.hxx

index 29edf7397c24e44a184c76d8bbd5da378ed1f49a..275d648e6811b822ed4941dd92d74eb1e3ebbe32 100644 (file)
@@ -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