Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10495 in orxonox.OLD for trunk/src/world_entities/camera.cc


Ignore:
Timestamp:
Jan 30, 2007, 1:54:25 AM (17 years ago)
Author:
bknecht
Message:

new cameraMan function to have more control over camera

File:
1 edited

Legend:

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

    r10478 r10495  
    2626#include "state.h"
    2727
     28#include "debug.h"
     29
    2830
    2931ObjectListDefinition(Camera);
     
    103105   {
    104106    this->setParent(this->entityTrack->getTrackNode());
    105     this->setRelCoor(0,0,0);
     107    //this->setRelCoor(0,0,0);
    106108   }
    107109}
     
    215217  this->viewVector = (this->target->getAbsCoor() - this->getAbsCoor()).getNormalized();
    216218  this->frustumPlane = Plane(this->viewVector, this->getAbsCoor() + this->viewVector * 0.1);
    217   this->upVector =  this->getAbsDirV();
     219  this->upVector = this->getAbsDirV();
    218220
    219221  // iteration for fovy
     
    223225
    224226  if(this->entityTrack)
     227  {
     228    //PRINTF(0)("tickytackytucky\n");
    225229    this->entityTrack->tick(dt);
    226 
     230    //this->setAbsCoor(this->entityTrack->getTrackNode()->getAbsCoor());
     231  }
    227232
    228233
Note: See TracChangeset for help on using the changeset viewer.