Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3323 in orxonox.OLD for orxonox/branches/parenting/src/camera.cc


Ignore:
Timestamp:
Jan 3, 2005, 2:21:34 PM (19 years ago)
Author:
patrick
Message:

oroxnox/branches/parenting: turned coordinate system, now using the normal opengl orientation: x: forth, y: up, z: right. tried to turn the landscape, but didnt work. will be remade later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/camera.cc

    r3307 r3323  
    178178          //world->calcCameraPos (&lookat, &desiredPlace);
    179179          //FIXME: camera should be made via relative coordinates
    180           Vector* cameraOffset = new Vector (-10, 0, 5);
     180          Vector* cameraOffset = new Vector (-10, 5, 0);
    181181          this->setRelCoor (cameraOffset);
    182182        }
     
    247247  gluLookAt(this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z,
    248248            this->parent->getAbsCoor ().x, this->parent->getAbsCoor ().y, this->parent->getAbsCoor ().z,
    249             0.0, 0.0, 1.0);
     249            0.0, 1.0, 0.0);
    250250 
    251251
Note: See TracChangeset for help on using the changeset viewer.