Changeset 1448 for code/branches/network/src
- Timestamp:
- May 28, 2008, 10:54:20 AM (16 years ago)
- Location:
- code/branches/network/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/objects/SpaceShip.cc
r1446 r1448 484 484 SpaceShip* this_ = getLocalShip(); 485 485 this_->momentum_ = Radian(-this_->rotationAccelerationRadian_ * val); 486 COUT(3) << "rotating val: " << val << " acceleration: " << this_->rotationAccelerationRadian_.valueDegrees() << std::endl;486 //COUT(3) << "rotating val: " << val << " acceleration: " << this_->rotationAccelerationRadian_.valueDegrees() << std::endl; 487 487 } 488 488 -
code/branches/network/src/orxonox/objects/WorldEntity.cc
r1443 r1448 85 85 this->rotationRate_ += (dt * this->momentum_); 86 86 this->rotate(this->rotationAxis_, dt * this->rotationRate_); 87 COUT(3) << "rotationrate: " << this->rotationRate_.valueDegrees() << " momentum: " << this->momentum_.valueDegrees() << std::endl;87 //COUT(3) << "rotationrate: " << this->rotationRate_.valueDegrees() << " momentum: " << this->momentum_.valueDegrees() << std::endl; 88 88 } 89 89 }
Note: See TracChangeset
for help on using the changeset viewer.