Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9502 in orxonox.OLD for branches/proxy/src/lib/particles


Ignore:
Timestamp:
Jul 27, 2006, 12:30:31 PM (18 years ago)
Author:
bensch
Message:

coloring works on server

Location:
branches/proxy/src/lib/particles
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/particles/particle_system.cc

    r9500 r9502  
    238238  PRINTF(4)("Color of %s::%s on timeslice %f is r:%f g:%f b:%f a:%f\n",
    239239    this->getClassCName(), this->getCName(), lifeCycleTime, red, green, blue, alpha);
    240 
    241   this->colorAnim[0].debug();
    242240}
    243241
     
    469467           ((this->maxCount!=0)?100*this->count/this->maxCount:0));
    470468
     469
     470  PRINT(0)("  Coloring sceme: r:"), this->colorAnim[0].debug();
     471  PRINT(0)("  Coloring sceme: g:"), this->colorAnim[1].debug();
     472  PRINT(0)("  Coloring sceme: b:"), this->colorAnim[2].debug();
     473  PRINT(0)("  Coloring sceme: a:"), this->colorAnim[3].debug();
     474
    471475  if (likely(this->deadList != NULL))
    472476  {
  • branches/proxy/src/lib/particles/quick_animation.cc

    r9406 r9502  
    287287
    288288  for (unsigned int i = 0; i < this->keyFrames.size(); i++)
    289     printf("(%f, %f)->", this->keyFrames[i].position, this->keyFrames[i].value);
     289    printf("(%0.2f, %0.2f)->", this->keyFrames[i].position, this->keyFrames[i].value);
    290290  printf("\n");
    291291}
Note: See TracChangeset for help on using the changeset viewer.