Changeset 10711 in orxonox.OLD for branches/presentation/src/world_entities/weapons
- Timestamp:
- Jun 18, 2007, 12:34:45 AM (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
r10710 r10711 200 200 (*it)->draw(); 201 201 } 202 #if 1202 #if 0 203 203 glMatrixMode(GL_MODELVIEW); 204 204 glPushMatrix(); … … 214 214 Vector mp = this->getAbsCoor(); 215 215 Vector op = this->getAbsDir().apply( Vector(1, 0, 0) ); 216 op *= 100 ;216 op *= 1000; 217 217 op += mp; 218 218 -
branches/presentation/src/world_entities/weapons/fps_sniper_rifle.cc
r10710 r10711 170 170 glPushMatrix(); 171 171 172 Vector pos = this->getAbsCoor() + this->getAbsDir().apply( Vector( 1, 0, 0) );172 Vector pos = this->getAbsCoor() + this->getAbsDir().apply( Vector(3, -1.6622, -0.967) ); 173 173 glTranslatef (pos.x, 174 174 pos.y,
Note: See TracChangeset
for help on using the changeset viewer.