void
FGPanel::update (osg::State& state, GLfloat winx, GLfloat winw, GLfloat winy, GLfloat winh)
{
void
FGPanel::update (osg::State& state, GLfloat winx, GLfloat winw, GLfloat winy, GLfloat winh)
{
// Calculate accelerations
// and jiggle the panel accordingly
// The factors and bounds are just
// Calculate accelerations
// and jiggle the panel accordingly
// The factors and bounds are just
- gluOrtho2D(winx + winw, winx, winy + winh, winy); /* up side down */
+ proj = Matrixf::ortho2D(winx + winw, winx, winy + winh, winy); /* up side down */
- gluOrtho2D(winx, winx + winw, winy, winy + winh); /* right side up */
+ proj = Matrixf::ortho2D(winx, winx + winw, winy, winy + winh); /* right side up */