Changeset 8902 in orxonox.OLD for branches/mountain_lake/src/lib/graphics/effects/cloud_effect.cc
- Timestamp:
- Jun 29, 2006, 12:33:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mountain_lake/src/lib/graphics/effects/cloud_effect.cc
r8837 r8902 43 43 SHELL_COMMAND(activate, CloudEffect, activateCloud); 44 44 SHELL_COMMAND(deactivate, CloudEffect, deactivateCloud); 45 SHELL_COMMAND(skyColor, CloudEffect, shellSkyColor); 46 SHELL_COMMAND(cloudColor, CloudEffect, shellCloudColor); 45 47 46 48 CREATE_FACTORY(CloudEffect, CL_CLOUD_EFFECT); … … 79 81 this->atmosphericRadius = 4000; 80 82 this->planetRadius = 1500; 81 this->divs = 50;83 this->divs = 15; 82 84 fadeSky = false; 83 85 fadeCloud = false; … … 287 289 } 288 290 291 void CloudEffect::shellSkyColor(float colorX, float colorY, float colorZ, float time) 292 { 293 changeSkyColor( Vector(colorX, colorY, colorZ), time); 294 } 295 void CloudEffect::shellCloudColor(float colorX, float colorY, float colorZ, float time) 296 { 297 changeCloudColor( Vector(colorX, colorY, colorZ), time); 298 } 289 299 290 300 void CloudEffect::make3DNoiseTexture()
Note: See TracChangeset
for help on using the changeset viewer.