Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4655 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Jun 18, 2005, 6:57:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: removed some unnecessary stuff

Location:
orxonox/trunk/src/lib/particles
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_system.cc

    r4654 r4655  
    9595  this->setType(PARTICLE_DEFAULT_TYPE, 1);
    9696  ParticleEngine::getInstance()->addSystem(this);
    97 
    98   colorAnim[0].setName("test"); //!< \todo delete this line
    9997}
    10098
  • orxonox/trunk/src/lib/particles/quick_animation.cc

    r4654 r4655  
    6767void QuickAnimation::addEntry(float position, float value)
    6868{
    69   if (this->getName())
    70   {
    71     printf("ADDED KEYFRAME %d\n", this->count);
    72   }
    73 
    7469  // create the new KeyFrame
    7570  QuickKeyFrame* newKey = new QuickKeyFrame;
     
    185180float QuickAnimation::getValue(float position)
    186181{
    187   int counter = 0;
    188182  while (true)
    189183  {
    190     counter++;
    191     if (counter >= 10)
    192     {
    193       printf("FUCK!!! %f\n", position);
    194       this->debug();
    195       break;
    196 
    197     }
    198184    // if we have a match
    199185    if (likely(this->current->position <= position && this->current->next->position >= position))
Note: See TracChangeset for help on using the changeset viewer.