// Constructor
FGViewerLookAt::FGViewerLookAt( void )
{
+ set_reverse_view_offset(true);
}
// Update the view parameters
void FGViewerLookAt::update() {
Point3D tmp;
- sgVec3 minus_z, forward;
- sgMat4 VIEWo;
+ sgVec3 minus_z;
// calculate the cartesion coords of the current lat/lon/0 elev
Point3D p = Point3D( geod_view_pos[0],
// THIS IS THE EXPERIMENTAL VIEWING ANGLE SHIFTER
// THE MAJORITY OF THE WORK IS DONE IN GUI.CXX
// this in gui.cxx for now just testing
- extern float quat_mat[4][4];
- sgPreMultMat4( VIEW, quat_mat);
+ extern float GuiQuat_mat[4][4];
+ sgPreMultMat4( VIEW, GuiQuat_mat);
// !!!!!!!!!! testing
// Given a vector pointing straight down (-Z), map into onto the