Ignore:
Timestamp:
10/23/08 14:53:23 (16 years ago)
Author:
mattausch
Message:

updating camera system: debug version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.h

    r3034 r3062  
    1414class RenderTraverser; 
    1515class Vector3; 
    16 class Camera; 
     16class PerspectiveCamera; 
    1717class DirectionalLight; 
     18 
    1819 
    1920/** This class implements a the computation of single shadow map using  
     
    2728                The shadow map has resolution size squared. 
    2829        */ 
    29         ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam); 
     30        ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, PerspectiveCamera *cam); 
    3031 
    3132        ~ShadowMap(); 
     
    5253        /** Returns the camera used for light view rendering. 
    5354        */ 
    54         Camera *GetShadowCamera() const { return mShadowCam; } 
     55        PerspectiveCamera *GetShadowCamera() const { return mShadowCam; } 
    5556        /** Renders the scene from shadow view using conventional shading. 
    5657        */ 
     
    111112        int mSize; 
    112113        /// the shadow view 
    113         Camera *mShadowCam; 
     114        PerspectiveCamera *mShadowCam; 
    114115        /// the texture matrix 
    115116        Matrix4x4 mTextureMatrix; 
     
    117118        DirectionalLight *mLight; 
    118119        /// the scene camera 
    119         Camera *mCamera; 
     120        PerspectiveCamera *mCamera; 
    120121 
    121122        Matrix4x4 mLightProjView; 
Note: See TracChangeset for help on using the changeset viewer.