Changeset 1315
- Timestamp:
- May 17, 2008, 3:53:27 PM (17 years ago)
- Location:
- code/branches/hud3/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/HUD.cc
r1314 r1315 157 157 float vmax = SpaceShip::instance_s->getMaxSpeed(); 158 158 speedo->reset(100*v/vmax); 159 COUT(3) << 100*v/vmax << std::endl;160 159 radar->update(); 161 160 /*if (this->ogreNode_) -
code/branches/hud3/src/orxonox/objects/SpaceShip.cc
r1314 r1315 283 283 this->camNode_ = this->getNode()->createChildSceneNode(camName_); 284 284 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)); 286 286 COUT(4) << "position: (cam)" << this->camNode_->getPosition() << std::endl; 287 287 /* … … 295 295 cam_->setTargetNode(this->getNode()); 296 296 // 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(q 1*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); 300 300 if(network::Client::getSingleton()!=0 && network::Client::getSingleton()->getShipID()==objectID){ 301 301 this->setBacksync(true);
Note: See TracChangeset
for help on using the changeset viewer.