]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/waypoint.cxx
Rotate the scenery tiles so that the horizont is axis aligned.
[simgear.git] / simgear / route / waypoint.cxx
index 3de5941d399a9ec60737d776adfd009ff7e75bc1..b56b25ba51609e929cbe927f4dddc722c144aa2b 100644 (file)
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
 
 #include <simgear/math/polar3d.hxx>
 #include <simgear/math/sg_geodesy.hxx>
@@ -29,7 +32,7 @@
 
 // Constructor
 SGWayPoint::SGWayPoint( const double lon, const double lat, const double alt,
-                       const modetype m, const string s, const string n ) {
+                       const modetype m, const string& s, const string& n ) {
     target_lon = lon;
     target_lat = lat;
     target_alt = alt;