Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 13, 2005, 8:00:25 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: better ModelView-matrix transformations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/skysphere.cc

    r3507 r3526  
    9999{
    100100  glEnable(GL_TEXTURE_2D);
    101   skyMaterial->select();
    102101  glPushMatrix();
     102  glMatrixMode(GL_MODELVIEW);
    103103  glTranslatef(this->absCoordinate.x,
    104104               this->absCoordinate.y,
     
    109109  //glRotatef(-250.0f, 0.0, 1.0f, 0.0f);
    110110 
     111  skyMaterial->select();
    111112  gluSphere(sphereObj, sphereRadius, 20, 20);
    112113  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.