Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9656 in orxonox.OLD for trunk/src/lib/particles/particle_system.cc


Ignore:
Timestamp:
Aug 4, 2006, 11:01:28 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the proxy bache back with no conflicts

File:
1 edited

Legend:

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

    r9406 r9656  
    5555
    5656/**
    57  * standard deconstructor
    58 */
     57 * @brief standard deconstructor
     58 */
    5959ParticleSystem::~ParticleSystem()
    6060{
     
    8484
    8585/**
    86  * loads Parameters from a TiXmlElement
     86 * @brief loads Parameters from a TiXmlElement
    8787 * @param root the XML-element to load from.
    8888 */
     
    241241
    242242/**
     243 * @brief sets a key in the color-animation on a per-particle basis
     244 * @param lifeCycleTime: the time (partilceLifeTime/particleAge) [0-1]
     245 * @param color the Color.
     246 */
     247void ParticleSystem::setColor(float lifeCycleTime, const Color& color)
     248{
     249  this->setColor(lifeCycleTime, color.r(), color.g(), color.b(), color.a());
     250}
     251
     252
     253/**
    243254 * @brief adds an Emitter to this System.
    244255 * @param emitter the Emitter to add.
     
    455466           this->maxCount,
    456467           ((this->maxCount!=0)?100*this->count/this->maxCount:0));
    457   if (this->deadList)
     468
     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
     475  if (likely(this->deadList != NULL))
    458476  {
    459477    PRINT(0)("  - ParticleDeadList is used: ");
Note: See TracChangeset for help on using the changeset viewer.