Changeset 94 for trunk/VUT/Ogre/include


Ignore:
Timestamp:
05/12/05 18:55:25 (20 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h

    r92 r94  
    3434        GtpVisibility::OcclusionQuery *GetNextOcclusionQuery(); 
    3535                 
    36         /** Sets the current camera. 
     36        /** Sets the current camera used for the rendering. 
    3737                @param cam the current camera 
    3838        */ 
    3939        void SetCamera(Camera *cam); 
    40                  
     40        /** Sets the current camera used for culling. 
     41                @param cam the current camera 
     42                @remark the default is the camera used for rendering 
     43        */ 
     44        void SetCullCamera(Camera *cullCam); 
    4145        /** Initialises this scene traverser for the current frame. 
    4246        @param root root of the hierarchy 
    4347                @param cam current camera 
     48                @param cullCam the camera used for culling. If null, the current camera is used 
    4449                @remark convenience method wich calls VisibilitySceneTraverser::initFrame, 
    4550                sets the current camera, and initialises the distance queue. 
    4651        */ 
    47         void InitFrame(GtpVisibility::HierarchyNode *root, Ogre::Camera *cam); 
     52        void InitFrame(GtpVisibility::HierarchyNode *root, Camera *cam, Camera *cullCam = NULL); 
    4853        /** Checks if the node is visible from the current view frustum. 
    4954                @param node the current node 
     
    95100 
    96101        Camera *mCamera; 
     102        Camera *mCullCamera; 
     103 
    97104        AxisAlignedBox mBox; 
    98105         
Note: See TracChangeset for help on using the changeset viewer.