Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6912 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Jan 31, 2006, 8:24:49 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: tried to fix the planet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/planet.cc

    r6780 r6912  
    112112void Planet::draw() const
    113113{
    114 
    115 
    116114  glMatrixMode(GL_MODELVIEW);
    117115  glPushMatrix();
     
    123121                this->getAbsCoor ().y,
    124122                this->getAbsCoor ().z);
    125 
     123  Vector tmpRot = this->getAbsDir().getSpacialAxis();
     124  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    126125
    127126  this->material->select();
Note: See TracChangeset for help on using the changeset viewer.