From 1576fc1050ddfa840f9bfb306290fb3f8df6e93b Mon Sep 17 00:00:00 2001 From: mfranz Date: Fri, 28 Jul 2006 18:41:12 +0000 Subject: [PATCH] reduce marker gap --- src/Instrumentation/HUD/HUD_tbi.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Instrumentation/HUD/HUD_tbi.cxx b/src/Instrumentation/HUD/HUD_tbi.cxx index 69cb70d5a..7f5f442a4 100644 --- a/src/Instrumentation/HUD/HUD_tbi.cxx +++ b/src/Instrumentation/HUD/HUD_tbi.cxx @@ -140,7 +140,8 @@ void HUD::TurnBankIndicator::draw_scale() } // bank marker - float a, rr = r + r * 2.0 / 70.0; + float a; + float rr = r + r * 0.5 / 70.0; // little gap for the arrow peak a = (bank + 270.0) * SGD_DEGREES_TO_RADIANS; float x1 = cx + rr * cos(a); @@ -161,7 +162,7 @@ void HUD::TurnBankIndicator::draw_scale() // sideslip marker - rr = r + r * 2.0 / 70.0; + rr = r + r * 0.5 / 70.0; a = (bank + sideslip + 270.0) * SGD_DEGREES_TO_RADIANS; x1 = cx + rr * cos(a); y1 = cy + rr * sin(a);