Changeset 4655 in orxonox.OLD for orxonox/trunk/src/lib/particles
- Timestamp:
- Jun 18, 2005, 6:57:55 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/particles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_system.cc
r4654 r4655 95 95 this->setType(PARTICLE_DEFAULT_TYPE, 1); 96 96 ParticleEngine::getInstance()->addSystem(this); 97 98 colorAnim[0].setName("test"); //!< \todo delete this line99 97 } 100 98 -
orxonox/trunk/src/lib/particles/quick_animation.cc
r4654 r4655 67 67 void QuickAnimation::addEntry(float position, float value) 68 68 { 69 if (this->getName())70 {71 printf("ADDED KEYFRAME %d\n", this->count);72 }73 74 69 // create the new KeyFrame 75 70 QuickKeyFrame* newKey = new QuickKeyFrame; … … 185 180 float QuickAnimation::getValue(float position) 186 181 { 187 int counter = 0;188 182 while (true) 189 183 { 190 counter++;191 if (counter >= 10)192 {193 printf("FUCK!!! %f\n", position);194 this->debug();195 break;196 197 }198 184 // if we have a match 199 185 if (likely(this->current->position <= position && this->current->next->position >= position))
Note: See TracChangeset
for help on using the changeset viewer.