From: curt Date: Thu, 26 Oct 2000 18:20:55 +0000 (+0000) Subject: Debug cleanup. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1338b3548ce7a4e9729b7597cdd4304aade29cbb;hp=35819b8c4d98207560392b80020f2d0cc3a4c2c9;p=flightgear.git Debug cleanup. --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 9003f43e0..b7b666a77 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -339,6 +339,7 @@ void fgRenderFrame( void ) { cur_fdm_state->get_Theta(), cur_fdm_state->get_Psi() ); +#if 0 // this is a test, we are trying to match RPH and LookAt // matrices tv->set_geod_view_pos( cur_fdm_state->get_Longitude(), @@ -351,7 +352,7 @@ void fgRenderFrame( void ) { tv->set_view_up( globals->get_current_view()->get_view_up() ); sgMat4 rph; - sgCopyMat4( rph, globals->get_current_view()->get_VIEW() ); + sgCopyMat4( rph, globals->get_current_view()->get_VIEW_ROT() ); cout << "RPH Matrix = " << endl; int i, j; for ( i = 0; i < 4; i++ ) { @@ -361,7 +362,7 @@ void fgRenderFrame( void ) { cout << endl; } sgMat4 la; - sgCopyMat4( la, tv->get_VIEW() ); + sgCopyMat4( la, tv->get_VIEW_ROT() ); cout << "LookAt Matrix = " << endl; for ( i = 0; i < 4; i++ ) { for ( j = 0; j < 4; j++ ) { @@ -369,7 +370,7 @@ void fgRenderFrame( void ) { } cout << endl; } - +#endif // update view volume parameters // cout << "before pilot_view update" << endl;