Changeset 8457 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.cc
- Timestamp:
- Jun 15, 2006, 1:43:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.cc
r8455 r8457 96 96 this->particles = 12000; 97 97 this->texture = "maps/snow_flake_01_32x32.png"; 98 this-> life = 8;98 this->snowLife = 8; 99 99 this->randomLife = 2; 100 100 this->snowRadius = 3.5; … … 122 122 SnowEffect::snowParticles->setName("SnowEffectTrailParticles"); 123 123 SnowEffect::snowParticles->setMaterialTexture(texture); 124 SnowEffect::snowParticles->setLifeSpan( life, randomLife);124 SnowEffect::snowParticles->setLifeSpan(snowLife, randomLife); 125 125 SnowEffect::snowParticles->setRadius(0.0, snowRadius, randomRadius); 126 126 SnowEffect::snowParticles->setRadius(0.2, snowRadius, randomRadius*0.8); … … 139 139 this->emitter->setSize(snowSize); 140 140 141 // SnowEffect::snowParticles->precache(8);141 SnowEffect::snowParticles->precache((int) this->snowLife); 142 142 143 143 if (this->snowWindForce > 1)
Note: See TracChangeset
for help on using the changeset viewer.