Changeset 8486
- Timestamp:
- May 16, 2011, 1:27:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup/src/modules/pickup/items/ShrinkPickup.cc
r8433 r8486 51 51 //this->pawn->setScale3D(this->pawn->getScale3D() / 2.0); 52 52 std::set<WorldEntity*> set = this->pawn->getAttachedObjects(); 53 54 /*this->pawn->setScale3D(this->pawn->getScale3D() / 5.0); 55 this->pawn->setMass(this->pawn->getMass() / 5.0); 56 57 const std::list<SmartPtr<CameraPosition> > cameraPositions = this->pawn->getCameraPositions(); 58 unsigned int size = cameraPositions.size(); 59 for(unsigned int index = 0; index < size; index++) 60 { 61 CameraPosition* cameraPos = this->pawn->getCameraPosition(index); 62 if(cameraPos == NULL) 63 continue; 64 cameraPos->setPosition(cameraPos->getPosition()*5.0); 65 }*/ 53 66 54 67 i = 0;
Note: See TracChangeset
for help on using the changeset viewer.