Norman Vine wrote: > FWIW for vertical virtual panel > added 3 lines to Panel.cxx to get and multiply panel matrix by > gui_quat_ matrix > added 5 lines to viewer.cxx < add gui_quat_matrix and a get function > > removed line from viewer_rph.cxx and viewer_lookat.cxx that > declared gui_quat_matrix external > changed 5 lines in the GUI code to use the viewer->gui_quat_matrix > instead of the local one.
Note that this isn't enough. The panel already works fine (heh) vertically, but only when directed by the euler properties. I use a hat switch, and not the mouse, to control view direction. This modification will fix mouse support but break the eulers. The right fix, here, is to control the eulers from the mouse code and move the GuiQuat stuff somewhere unified. Having completely separate GuiQuat matrix and euler angle control over view direction is a Bad Thing, and must be fixed. Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com "Men go crazy in conflagrations. They only get better one by one." - Sting (misquoted) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
