Ignore:
Timestamp:
07/11/06 15:48:46 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r1103 r1120  
    4242                @brief returns the depth shadow map texture created by this run 
    4343        */ 
    44         String getDepthMapTextureName(int i){return names[i];} 
     44        String getDepthMapTextureName(){return name;} 
    4545        /** 
    4646                @brief Refreshes light camera matrices, called in each update. 
     
    5050                @brief retuns the view matrix of the camera from which the depth shadow map was created 
    5151        */ 
    52         Matrix4 getLightViewMatrix(int i); 
     52        Matrix4 getLightViewMatrix(); 
    5353        /** 
    5454                @brief retuns the concatenation of the view and projection matrices of the camera from which the depth shadow map was created 
    5555        */ 
    56         Matrix4 getLightViewProjMatrix(int i); 
     56        Matrix4 getLightViewProjMatrix(); 
    5757 
    5858protected:       
     
    6464                @brief pointer to the camera of the lightsource 
    6565        */ 
    66         Camera* depthMapCameras[2]; 
     66        Camera* depthMapCamera; 
    6767        /** 
    6868                @brief the name of the material to be used when rendering the depth shadow map 
     
    7676                @brief the name of the depth shadow map texture that was created by this run 
    7777        */ 
    78         String names[2]; 
     78        String name; 
    7979        /** 
    8080                @brief a pointer to the depth shadow texture that was created by this run 
    8181        */ 
    82         Texture* depthMapTextures[2]; 
     82        Texture* depthMapTexture; 
    8383         
    8484        //inherited 
Note: See TracChangeset for help on using the changeset viewer.