Changeset 4655 in orxonox.OLD for orxonox/trunk/src/lib/particles/quick_animation.cc
- Timestamp:
- Jun 18, 2005, 6:57:55 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.