Update of /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source
In directory sc8-pr-cvs1:/tmp/cvs-serv23111
Modified Files:
HudTextElement.cpp
Log Message:
no message
Index: HudTextElement.cpp
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source/HudTextElement.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HudTextElement.cpp 14 Dec 2002 18:49:07 -0000 1.4
--- HudTextElement.cpp 11 Jan 2003 10:54:06 -0000 1.5
***************
*** 75,78 ****
--- 75,79 ----
setDrawMode( osgText::Text::TEXT );
setAlignment(osgText::Text::LEFT_BOTTOM);
+ //setAxisAlignment(XZ_PLANE);
setColor(fontColor);
setPosition(p_position);
***************
*** 178,182 ****
{
AirplaneObject * pplayerPlane = dynamic_cast<AirplaneObject*>(g_pPlayerObject);
! SetValue ( RadiansToDegrees(pplayerPlane->getAngleOfAttack()) );
}
--- 179,183 ----
{
AirplaneObject * pplayerPlane = dynamic_cast<AirplaneObject*>(g_pPlayerObject);
! SetValue ( osg::RadiansToDegrees(pplayerPlane->getAngleOfAttack()) );
}
|