From d891c5928c54733e1d4a10114bfbc9e792fe4386 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 10 Dec 2015 15:07:21 -0600 Subject: [PATCH] Remove /sim/temp/winding-ccw property - part of work on unit-testing, remove OpenGL usage in fg_props --- src/Main/fg_props.cxx | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/Main/fg_props.cxx b/src/Main/fg_props.cxx index 42128b644..b16ab940e 100644 --- a/src/Main/fg_props.cxx +++ b/src/Main/fg_props.cxx @@ -38,9 +38,6 @@ #include "globals.hxx" #include "fg_props.hxx" - -static bool winding_ccw = true; // FIXME: temporary - static bool frozen = false; // FIXME: temporary using std::string; @@ -361,22 +358,6 @@ getTrackMag () return SGMiscd::normalizePeriodic(0, 360, magtrack ); } -static bool -getWindingCCW () -{ - return winding_ccw; -} - -static void -setWindingCCW (bool state) -{ - winding_ccw = state; - if ( winding_ccw ) - glFrontFace ( GL_CCW ); - else - glFrontFace ( GL_CW ); -} - //////////////////////////////////////////////////////////////////////// // Tie the properties. //////////////////////////////////////////////////////////////////////// @@ -510,9 +491,6 @@ FGProperties::bind () // Orientation _tiedProperties.Tie("/orientation/heading-magnetic-deg", getHeadingMag); _tiedProperties.Tie("/orientation/track-magnetic-deg", getTrackMag); - - // Misc. Temporary junk. - _tiedProperties.Tie("/sim/temp/winding-ccw", getWindingCCW, setWindingCCW, false); } void -- 2.39.5