]> git.mxchange.org Git - flightgear.git/commit
Patch from Andy Ross to allow virtual panel to tilt with mouse view:
authordavid <david>
Wed, 6 Mar 2002 13:53:18 +0000 (13:53 +0000)
committerdavid <david>
Wed, 6 Mar 2002 13:53:18 +0000 (13:53 +0000)
commit9ae5ad236e63bc8d6ddf5fd47e78469fb9bf2bff
treee3f04047fa89964ce3fa9e2b7dec977722fb818d
parent0bdc1b169922886ea8d024cc6c6f34a7cbd8f571
Patch from Andy Ross to allow virtual panel to tilt with mouse view:

OK, attached is a replacement for mouse.cxx that works the view using
the view-offset/tilt interface, rather than the (kinda odd) GuiQuat
stuff.  It's kind of a hack job, as I left the hooks to GuiQuat in in
other places for fear of breaking something.  Still, it removed more
code from mouse.cxx than it added, which has to count for some
elegance points.
src/GUI/mouse.cxx