From: James Turner Date: Thu, 10 Dec 2015 21:07:21 +0000 (-0600) Subject: Remove /sim/temp/winding-ccw property X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d891c5928c54733e1d4a10114bfbc9e792fe4386;p=flightgear.git Remove /sim/temp/winding-ccw property - part of work on unit-testing, remove OpenGL usage in fg_props --- 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