]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/sgVec3Slider.hxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / GUI / sgVec3Slider.hxx
index 448b830d1d7eb6d7d6375c56e9c45bfb9b606320..58186d687498827a44568179c1ca95dbacceccb9 100644 (file)
@@ -18,50 +18,10 @@ void PilotOffsetInit();
 void PilotOffsetInit( sgVec3 vec );
 void PilotOffsetAdjust( puObject * );
 void Vec3FromHeadingPitchRadius( sgVec3 vec3, float heading, float pitch, float radius );
+void HeadingPitchRadiusFromVec3( sgVec3 hpr, sgVec3 vec3 );
 //void PilotOffsetGet( float *po );
 sgVec3 *PilotOffsetGet();
 void PilotOffsetSet( int opt, float setting);
 float PilotOffsetGetSetting( int opt );
 
 #endif // _VEC3_SLIDER_H
-
-/* binding functions for chase view offset */
-
-static void
-setPilotOffsetHeadingDeg (float value)
-{
-       PilotOffsetSet(0, value);
-}
-
-static float
-getPilotOffsetHeadingDeg ()
-{
-       return( PilotOffsetGetSetting(0) );
-}
-
-
-static void
-setPilotOffsetPitchDeg (float value)
-{
-       PilotOffsetSet(1, value);
-}
-
-static float
-getPilotOffsetPitchDeg ()
-{
-       return( PilotOffsetGetSetting(1) );
-}
-
-
-static void
-setPilotOffsetRadiusM (float value)
-{
-       PilotOffsetSet(2, value);
-}
-
-static float
-getPilotOffsetRadiusM ()
-{
-       return( PilotOffsetGetSetting(2) );
-}
-