Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3607 in orxonox.OLD for orxonox/trunk/src/camera.cc


Ignore:
Timestamp:
Mar 20, 2005, 10:38:59 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: stdincl was still included everywhere. removed it out of the stdincl.h file to enable the possibility of compile-speedup. added some testclasses for vector/quaternion.

File:
1 edited

Legend:

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

    r3566 r3607  
    240240
    241241  // ===== second camera control calculation option
    242  
    243   gluLookAt(this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z,
     242
     243  Vector r = this->getAbsCoor();
     244  gluLookAt(r.x, r.y, r.z,
    244245            this->parent->getAbsCoor ().x, this->parent->getAbsCoor ().y, this->parent->getAbsCoor ().z,
    245246            0.0, 1.0, 0.0);
Note: See TracChangeset for help on using the changeset viewer.