Changeset 8900 in orxonox.OLD for branches/single_player_map
- Timestamp:
- Jun 29, 2006, 1:11:30 AM (19 years ago)
- Location:
- branches/single_player_map/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/creatures/fps_player.cc
r8898 r8900 122 122 this->getWeaponManager().setSlotCount(2); 123 123 this->getWeaponManager().setSlotPosition(0, Vector(1.5, -0.7, 1.1)); 124 this->getWeaponManager().setSlotDirection(0, Quaternion(M_PI_2, Vector(0,1,0)));124 // this->getWeaponManager().setSlotDirection(0, Quaternion(M_PI_2, Vector(0,1,0))); 125 125 this->getWeaponManager().setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 126 126 this->getWeaponManager().setSlotPosition(1, Vector(5.0, 0.0, 0.0)); -
branches/single_player_map/src/world_entities/weapons/fps_sniper_rifle.cc
r8899 r8900 170 170 171 171 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 172 glRotatef (this->getAbsDir().getSpacialAxisAngle() + M_PI_2, tmpRot.x, tmpRot.y, tmpRot.z );172 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 173 173 174 174 if( this->leftRight == W_RIGHT)
Note: See TracChangeset
for help on using the changeset viewer.