[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-cvs
Subject:    [Flightgear-cvslogs] CVS: source/src/Scenery hitlist.hxx,1.6,1.7
From:       "Curtis L. Olson" <curt () flightgear ! org>
Date:       2005-02-25 19:41:56
Message-ID: E1D4lLY-00014Q-00 () baron ! me ! umn ! edu
[Download RAW message or body]

Update of /var/cvs/FlightGear-0.9/source/src/Scenery
In directory baron:/tmp/cvs-serv3655/src/Scenery

Modified Files:
	hitlist.hxx 
Log Message:
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.


Index: hitlist.hxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Scenery/hitlist.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** hitlist.hxx	20 Sep 2004 13:21:52 -0000	1.6
--- hitlist.hxx	25 Feb 2005 19:41:54 -0000	1.7
***************
*** 13,19 ****
  
  #include <vector>
- 
  SG_USING_STD(vector);
  
  class ssgEntity;
  class ssgBranch;
--- 13,20 ----
  
  #include <vector>
  SG_USING_STD(vector);
  
+ #include <plib/ssg.h>
+ 
  class ssgEntity;
  class ssgBranch;


_______________________________________________
Flightgear-cvslogs mailing list
Flightgear-cvslogs@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-cvslogs
2f585eeea02e2c79d7b1d8c4963bae2d
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic