Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 26, 2006, 5:49:58 PM (19 years ago)
Author:
bensch
Message:

trunk: ModelView work…

Location:
trunk/src/world_entities
Files:
4 edited

Legend:

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

    r6772 r6778  
    188188  glLoadIdentity ();
    189189
    190   // setting up the perspective
    191190  gluPerspective(this->fovy,
    192191                 this->aspectRatio,
    193192                 this->nearClip,
    194193                 this->farClip);
     194
     195
     196    // setting up the perspective
    195197  // speed-up feature
    196198  Vector cameraPosition = this->getAbsCoor();
     
    205207            up.x, up.y, up.z);
    206208
     209
    207210  glMatrixMode (GL_MODELVIEW);
    208211  glLoadIdentity();
     212
     213
     214
    209215}
    210216
  • trunk/src/world_entities/skysphere.cc

    r6142 r6778  
    9797void Skysphere::draw() const
    9898{
     99  glMatrixMode(GL_MODELVIEW);
    99100  glPushMatrix();
    100   glMatrixMode(GL_MODELVIEW);
     101
    101102  Vector r = this->getAbsCoor();
    102103  glTranslatef(r.x, r.y, r.z);
  • trunk/src/world_entities/weapons/test_gun.cc

    r6671 r6778  
    219219
    220220  /* draw objectComponent1: gun coil - animated stuff */
    221   glMatrixMode(GL_MODELVIEW);
    222221  glPushMatrix();
    223222  glTranslatef (this->objectComponent1->getAbsCoor ().x,
  • trunk/src/world_entities/weapons/weapon_manager.cc

    r6753 r6778  
    417417        this->currentSlotConfig[i].position.activateNode();
    418418        tickWeapon->setParent(&this->currentSlotConfig[i].position);
    419         printf("ACTIVATE\n");
    420419      }
    421420      else
Note: See TracChangeset for help on using the changeset viewer.