Changeset 1055 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreCausticCubeMapRenderingRun.h
- Timestamp:
- 06/26/06 09:52:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreCausticCubeMapRenderingRun.h
r790 r1055 40 40 String materialName, 41 41 unsigned char photonMapTexId, 42 bool updateAllFace 42 bool updateAllFace, 43 float attenuation 43 44 ); 44 45 /** … … 49 50 //inherited 50 51 void photonMapChanged(RenderingRun* run); 52 float getAttenuation(){return attenuation;} 51 53 54 bool canJoin(OgreRenderingRun* run) 55 { 56 OgreCausticCubeMapRenderingRun* r = (OgreCausticCubeMapRenderingRun*) run; 57 if(r->materialName == materialName) 58 return true; 59 return false; 60 } 61 52 62 protected: 53 63 /** … … 71 81 */ 72 82 String materialName; 83 float attenuation; 73 84 74 85 //inherited
Note: See TracChangeset
for help on using the changeset viewer.