]> git.mxchange.org Git - flightgear.git/commit
The view frustum is defined in plib apps using calls to ssgSetFOV() and
authorcurt <curt>
Fri, 25 Feb 2005 19:41:53 +0000 (19:41 +0000)
committercurt <curt>
Fri, 25 Feb 2005 19:41:53 +0000 (19:41 +0000)
commit40170cb722a08f0ab93875e4e35e022941551c40
tree47802df9575224fefe2fc959da1c659b6426a84f
parent7cc58da6a9b9016fb8d46a85975aaa53fc480a79
The view frustum is defined in plib apps using calls to ssgSetFOV() and
ssgSetNearFar().  This by default creates a symmetric view frustum which is
typically what an application wants.

However, to get control of the view frustum in order to build support for
asymmetric view frustums, we need to wrap these calls with a bit of our own
logic.

This set of changes wraps all calls to ssgSetFOV() and ssgSetNearFar() with
FGRenderer methods.

I also standardized how the FGRenderer class is handled in globals.[ch]xx.
This led to some cascading changes in a variety of source files.

As I was working my way through the changes, I fixed a few warnings along
the way.
14 files changed:
src/Airports/simple.cxx
src/Environment/environment_mgr.cxx
src/GUI/gui_funcs.cxx
src/GUI/gui_local.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Main/renderer.cxx
src/Main/renderer.hxx
src/Model/acmodel.cxx
src/Network/ATC-Inputs.cxx
src/Network/ATC-Main.hxx
src/Network/ATC-Outputs.cxx
src/Scenery/hitlist.hxx
src/Time/light.cxx