8 #include <simgear/compiler.h>
17 void PilotOffsetInit();
18 void PilotOffsetInit( sgVec3 vec );
19 void PilotOffsetAdjust( puObject * );
20 void Vec3FromHeadingPitchRadius( sgVec3 vec3, float heading, float pitch, float radius );
21 //void PilotOffsetGet( float *po );
22 sgVec3 *PilotOffsetGet();
23 void PilotOffsetSet( int opt, float setting);
24 float PilotOffsetGetSetting( int opt );
26 #endif // _VEC3_SLIDER_H
28 /* binding functions for chase view offset */
31 setPilotOffsetHeadingDeg (float value)
33 PilotOffsetSet(0, value);
37 getPilotOffsetHeadingDeg ()
39 return( PilotOffsetGetSetting(0) );
44 setPilotOffsetPitchDeg (float value)
46 PilotOffsetSet(1, value);
50 getPilotOffsetPitchDeg ()
52 return( PilotOffsetGetSetting(1) );
57 setPilotOffsetRadiusM (float value)
59 PilotOffsetSet(2, value);
63 getPilotOffsetRadiusM ()
65 return( PilotOffsetGetSetting(2) );