Changeset 10705 in orxonox.OLD for branches/presentation/src/world_entities/weapons
- Timestamp:
- Jun 15, 2007, 4:44:51 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/bsp_weapon.cc
r10704 r10705 94 94 void BspWeapon::tick( float dt ) 95 95 { 96 PRINTF(0)("BSPWEAPON TICK: %d %f %f\n", bFire, bRate, dt );96 //PRINTF(0)("BSPWEAPON TICK: %d %f %f\n", bFire, bRate, dt ); 97 97 if (bFire) { 98 98 if (bRate <= 0) { -
branches/presentation/src/world_entities/weapons/fps_sniper_rifle.cc
r10704 r10705 168 168 glMatrixMode(GL_MODELVIEW); 169 169 glPushMatrix(); 170 glTranslatef (this->getAbsCoor ().x, 171 this->getAbsCoor ().y, 172 this->getAbsCoor ().z); 170 171 Vector pos = this->getAbsCoor() + this->getAbsDir().apply( Vector( 2, 0, 0 ) ); 172 glTranslatef (pos.x, 173 pos.y, 174 pos.z); 173 175 174 176 Vector tmpRot = this->getAbsDir().getSpacialAxis(); … … 183 185 184 186 glPopMatrix(); 185 186 187 } 187 188
Note: See TracChangeset
for help on using the changeset viewer.