]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/kt_70.cxx
Shuffling/reorganizing code.
[flightgear.git] / src / Cockpit / kt_70.cxx
index 00ff0c5bed61af9602d24b2e4e4e3db2c1efc542..5e0a7428dd910e4bd3bf515c129e58749d5eb817 100644 (file)
@@ -138,11 +138,11 @@ void FGKT_70::unbind () {
 
 // Update the various nav values based on position and valid tuned in navs
 void FGKT_70::update( double dt ) {
-    double acft_lon = lon_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS;
-    double acft_lat = lat_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS;
-    double acft_elev = alt_node->getDoubleValue() * SG_FEET_TO_METER;
-
-    Point3D aircraft = sgGeodToCart( Point3D( acft_lon, acft_lat, acft_elev ) );
+    // double acft_lon = lon_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS;
+    // double acft_lat = lat_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS;
+    // double acft_elev = alt_node->getDoubleValue() * SG_FEET_TO_METER;
+    // Point3D aircraft = sgGeodToCart( Point3D( acft_lon, acft_lat,
+    //                                           acft_elev ) );
 
     // sanity checks
     if ( digit1 < 0 ) { digit1 = 0; }