- Timestamp:
- 10/23/08 14:53:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.h
r3034 r3062 14 14 class RenderTraverser; 15 15 class Vector3; 16 class Camera;16 class PerspectiveCamera; 17 17 class DirectionalLight; 18 18 19 19 20 /** This class implements a the computation of single shadow map using … … 27 28 The shadow map has resolution size squared. 28 29 */ 29 ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam);30 ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, PerspectiveCamera *cam); 30 31 31 32 ~ShadowMap(); … … 52 53 /** Returns the camera used for light view rendering. 53 54 */ 54 Camera *GetShadowCamera() const { return mShadowCam; }55 PerspectiveCamera *GetShadowCamera() const { return mShadowCam; } 55 56 /** Renders the scene from shadow view using conventional shading. 56 57 */ … … 111 112 int mSize; 112 113 /// the shadow view 113 Camera *mShadowCam;114 PerspectiveCamera *mShadowCam; 114 115 /// the texture matrix 115 116 Matrix4x4 mTextureMatrix; … … 117 118 DirectionalLight *mLight; 118 119 /// the scene camera 119 Camera *mCamera;120 PerspectiveCamera *mCamera; 120 121 121 122 Matrix4x4 mLightProjView;
Note: See TracChangeset
for help on using the changeset viewer.