Changeset 8791 in orxonox.OLD for branches/water/src/world_entities
- Timestamp:
- Jun 26, 2006, 2:59:03 PM (19 years ago)
- Location:
- branches/water/src/world_entities/environments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/world_entities/environments/mapped_water.cc
r8788 r8791 292 292 293 293 294 if(this->tempcounter == 200) {295 this->resetWaterColor(1, 0, 0);296 resetShininess(1);297 resetLightPos(0, 100, 0);298 PRINTF(0)("test waterchangecolor ");299 }300 tempcounter++;294 // if(this->tempcounter == 200) { 295 // this->resetWaterColor(1, 0, 0); 296 // resetShininess(1); 297 // resetLightPos(0, 50, 0); 298 // PRINTF(0)("test waterchangecolor "); 299 // } 300 // tempcounter++; 301 301 302 302 } -
branches/water/src/world_entities/environments/mapped_water.h
r8788 r8791 60 60 void resetLightPos(float x, float y, float z); 61 61 62 // fade functions 63 void fadeWaterColor(float r, float g, float b, float time); 64 void fadeShininess(float shine, float time); 65 void fadeLightPos(float x, float y, float z, float time); 66 62 67 private: 63 68 void initParams();
Note: See TracChangeset
for help on using the changeset viewer.