Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5994 in orxonox.OLD for trunk/src/world_entities/power_ups


Ignore:
Timestamp:
Dec 9, 2005, 10:43:31 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: much cleaner Model Loading unloading, model is now private to WorldEntity (not protected)

Location:
trunk/src/world_entities/power_ups
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/power_ups/laser_power_up.cc

    r5915 r5994  
    112112  Vector tmpRot = this->getAbsDir().getSpacialAxis();
    113113  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    114   this->model->draw();
     114  this->getModel()->draw();
    115115
    116116  this->sphereMaterial->select();
  • trunk/src/world_entities/power_ups/turret_power_up.cc

    r5915 r5994  
    112112  Vector tmpRot = this->getAbsDir().getSpacialAxis();
    113113  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    114   this->model->draw();
     114  this->getModel()->draw();
    115115
    116116  this->sphereMaterial->select();
Note: See TracChangeset for help on using the changeset viewer.