Changeset 5994 in orxonox.OLD for trunk/src/lib/particles
- Timestamp:
- Dec 9, 2005, 10:43:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.cc
r5944 r5994 383 383 break; 384 384 case PARTICLE_MODEL: 385 if (this-> model)386 return this->count * this-> model->getFaceCount();385 if (this->getModel(0)) 386 return this->count * this->getModel()->getFaceCount(); 387 387 break; 388 388 } … … 483 483 GLfloat matrix[4][4]; 484 484 485 if (likely(this-> model!= NULL))485 if (likely(this->getModel() != NULL)) 486 486 while (likely(drawPart != NULL)) 487 487 { … … 496 496 glMultMatrixf((float*)matrix); 497 497 498 this-> model->draw();498 this->getModel()->draw(); 499 499 500 500 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.