Ignore:
Timestamp:
07/12/06 15:44:01 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreFocusingMapRenderingRun.h

    r1103 r1125  
    2222                @brief Constructor. 
    2323 
    24                 @param sharedRuns               a pointer to the OgreSharedRuns this run belongs to 
    25                 @param name                             the name of the scene depth texture to be created 
    26                 @param playerView               pointer to the player's viewport         
     24                 
    2725        */       
    2826        OgreFocusingMapRenderingRun(String name, 
    29                                                                 Viewport* playerView, 
    3027                                                                Matrix4 lightMatrix, 
    3128                                                                unsigned int focusingMapSize); 
     
    3633        void getMinMax(Vector3& min, Vector3& max); 
    3734        void setLightMatrix(Matrix4 &m){this->lightMatrix = m;} 
     35        void setCameraMatrices(const Matrix4 &view, const Matrix4 &projection); 
    3836         
    3937protected: 
     
    4139                @brief pointer to the player's viewport  
    4240        */ 
    43         Viewport* playerView; 
    4441        Matrix4 lightMatrix; 
    4542        /** 
    4643                @brief pointer to the player's camera    
    4744        */ 
    48         Camera* playerCamera; 
     45        Camera* camera; 
    4946         
    5047        /** 
     
    6360        inline void createFocusingMap(); 
    6461 
     62        bool needUpdate(unsigned long frameNum ) 
     63        { 
     64                return true; 
     65        } 
     66 
    6567}; 
Note: See TracChangeset for help on using the changeset viewer.