Changeset 5994 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Dec 9, 2005, 10:43:31 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 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(); -
trunk/src/lib/sound/sound_engine.cc
r5982 r5994 289 289 } 290 290 // INITIALIZING THE DEVICE: 291 #if ndef AL_VERSION_1_1291 #ifdef AL_VERSION_1_1 292 292 ALubyte deviceName[] = 293 293 #else
Note: See TracChangeset
for help on using the changeset viewer.