- Timestamp:
- 09/03/08 01:57:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.h
r2895 r2897 29 29 The shadow map has resolution size * size. 30 30 */ 31 ShadowMap( int size, const AxisAlignedBox3 &sceneBox, Camera *cam);31 ShadowMap(Light *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam); 32 32 33 33 ~ShadowMap(); 34 34 /** Computes the shadow map 35 35 */ 36 void ComputeShadowMap( Light *light,RenderTraverser *traverser);36 void ComputeShadowMap(RenderTraverser *traverser); 37 37 /** Returns computed shadow texture. 38 38 */ … … 49 49 */ 50 50 int GetSize() const { return mSize; } 51 52 Camera *GetShadowCamera() const { return mShadowCam; } 53 51 54 52 55 protected:
Note: See TracChangeset
for help on using the changeset viewer.