Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1315 for code/branches/hud3


Ignore:
Timestamp:
May 17, 2008, 3:53:27 PM (17 years ago)
Author:
FelixSchulthess
Message:

svn save

Location:
code/branches/hud3/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/hud/HUD.cc

    r1314 r1315  
    157157      float vmax = SpaceShip::instance_s->getMaxSpeed();
    158158      speedo->reset(100*v/vmax);
    159       COUT(3) << 100*v/vmax << std::endl;
    160159      radar->update();
    161160    /*if (this->ogreNode_)
  • code/branches/hud3/src/orxonox/objects/SpaceShip.cc

    r1314 r1315  
    283283      this->camNode_ = this->getNode()->createChildSceneNode(camName_);
    284284      COUT(4) << "position: (this)" << this->getNode()->getPosition() << std::endl;
    285       this->camNode_->setPosition(/*this->getNode()->getPosition() +*/ Vector3(-50,0,10));
     285      this->camNode_->setPosition(/*this->getNode()->getPosition() +*/ Vector3(-40,0,0));
    286286      COUT(4) << "position: (cam)" << this->camNode_->getPosition() << std::endl;
    287287/*
     
    295295      cam_->setTargetNode(this->getNode());
    296296//        cam->setPosition(Vector3(0,-350,0));
    297       Quaternion q1 = Quaternion(Radian(Degree(90)),Vector3(0,-1,0));
    298       Quaternion q2 = Quaternion(Radian(Degree(90)),Vector3(0,0,-1));
    299       //camNode_->setOrientation(q1*q2);
     297      //Quaternion q1 = Quaternion(Radian(Degree(90)),Vector3(0,-1,0));
     298      Quaternion q2 = Quaternion(Radian(Degree(90)),Vector3(1,0,0));
     299      //camNode_->setOrientation(q2);
    300300      if(network::Client::getSingleton()!=0 && network::Client::getSingleton()->getShipID()==objectID){
    301301        this->setBacksync(true);
Note: See TracChangeset for help on using the changeset viewer.