sgMat4 sgVIEW;
+ while ( current_view.follow.size() > 400 ) {
+ current_view.follow.pop_front();
+ }
+
if ( current_view.view_mode == FGView::FG_VIEW_FIRST_PERSON ) {
// select current view matrix
sgCopyMat4( sgVIEW, current_view.sgVIEW );
// select view matrix from front of view matrix queue
FGMat4Wrapper tmp = current_view.follow.front();
sgCopyMat4( sgVIEW, tmp.m );
- while ( current_view.follow.size() > 40 ) {
- current_view.follow.pop_front();
- }
// enable TuX and set up his position and orientation
penguin_sel->select(1);
// printf("updating flight model x %d\n", multi_loop);
fgFDMUpdate( current_options.get_flight_model(),
- cur_fdm_state, multi_loop, remainder );
+ cur_fdm_state, multi_loop * 1, remainder );
} else {
fgFDMUpdate( current_options.get_flight_model(),
cur_fdm_state, 0, remainder );
penguin_sel = new ssgSelector;
penguin_pos = new ssgTransform;
- ssgEntity *tux_obj = ssgLoadAC( "glider.ac" );
+ // ssgEntity *tux_obj = ssgLoadAC( "glider.ac" );
+ ssgEntity *tux_obj = ssgLoadAC( "Tower1x.ac" );
penguin_pos->addKid( tux_obj );
penguin_sel->addKid( penguin_pos );
ssgFlatten( tux_obj );