Changeset 4649 in orxonox.OLD for orxonox/trunk/src/lib/particles
- Timestamp:
- Jun 17, 2005, 10:52:16 AM (20 years ago)
- Location:
- orxonox/trunk/src/lib/particles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_system.cc
r4602 r4649 194 194 void ParticleSystem::setRadius(float lifeCycleTime, float radius, float randRadius) 195 195 { 196 this->radiusAnim. addEntry(lifeCycleTime, radius);197 this->randRadiusAnim. addEntry(lifeCycleTime, randRadius);196 this->radiusAnim.changeEntry(lifeCycleTime, radius); 197 this->randRadiusAnim.changeEntry(lifeCycleTime, randRadius); 198 198 } 199 199 … … 206 206 void ParticleSystem::setMass(float lifeCycleTime, float mass, float randMass) 207 207 { 208 this->massAnim. addEntry(lifeCycleTime, mass);209 this->randMassAnim. addEntry(lifeCycleTime, randMass);208 this->massAnim.changeEntry(lifeCycleTime, mass); 209 this->randMassAnim.changeEntry(lifeCycleTime, randMass); 210 210 } 211 211 … … 220 220 void ParticleSystem::setColor(float lifeCycleTime, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) 221 221 { 222 this->colorAnim[0]. addEntry(lifeCycleTime, red);223 this->colorAnim[1]. addEntry(lifeCycleTime, green);224 this->colorAnim[2]. addEntry(lifeCycleTime, blue);225 this->colorAnim[3]. addEntry(lifeCycleTime, alpha);222 this->colorAnim[0].changeEntry(lifeCycleTime, red); 223 this->colorAnim[1].changeEntry(lifeCycleTime, green); 224 this->colorAnim[2].changeEntry(lifeCycleTime, blue); 225 this->colorAnim[3].changeEntry(lifeCycleTime, alpha); 226 226 } 227 227 -
orxonox/trunk/src/lib/particles/quick_animation.cc
r4597 r4649 36 36 this->first = this->current = NULL; 37 37 } 38 39 38 40 39 /** … … 115 114 } 116 115 this->current = this->first; 117 return false; 116 117 this->addEntry(position, value); 118 118 } 119 119
Note: See TracChangeset
for help on using the changeset viewer.