]> git.mxchange.org Git - flightgear.git/commitdiff
fix up some comments
authorJohn Denker <jsd@av8n.com>
Sun, 2 Jan 2011 04:14:47 +0000 (21:14 -0700)
committerThorstenB <brehmt@gmail.com>
Wed, 16 Feb 2011 18:44:14 +0000 (19:44 +0100)
src/Instrumentation/navradio.cxx

index f5c9645819b102021b521103383c037ff544ff7f..391e0a720a5862c3f9ebd160e25f62888c53bcfd 100644 (file)
@@ -938,18 +938,13 @@ void FGNavRadio::search()
       if (_gs) {
         int tmp = (int)(_gs->get_multiuse() / 1000.0);
         target_gs = (double)tmp / 100.0;
-        
-        // until penaltyForNav goes away, we cannot assume we always pick
-        // paired LOC/GS trasmsitters. As we pass over a runway threshold, we
-        // often end up picking the 'wrong' LOC, but the correct GS. To avoid
-        // breaking the basis computation, ensure we use the GS radial and not
-        // the (potentially reversed) LOC radial.
+
         double gs_radial = fmod(_gs->get_multiuse(), 1000.0);
         SG_NORMALIZE_RANGE(gs_radial, 0.0, 360.0);
-                
-        // GS axis unit tangent vector
-        // (along the runway)
         _gsCart = _gs->cart();
+                
+        // GS axis unit tangent vector 
+        // (along the runway):
         _gsAxis = tangentVector(_gs->geod(), _gsCart, gs_radial);
 
         // GS baseline unit tangent vector