Changeset 10698 in orxonox.OLD for trunk/src/world_entities/projectiles/mbolt.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/mbolt.cc
r10618 r10698 145 145 this->toList(OM_NULL); 146 146 //this->toList(OM_DEAD); 147 this->removeNode();147 // this->removeNode(); 148 148 MBolt::fastFactory->kill(this); 149 149 } … … 212 212 float matrix[4][4]; 213 213 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 214 glRotatef(this->angle, 1.0f, 0.0f, 0.0f); //spinning missile 214 // glRotatef(this->angle, 1.0f, 0.0f, 0.0f); //spinning missile 215 glRotatef(this->angle, this->flightDirection.x, this->flightDirection.y, this->flightDirection.z); 215 216 this->getAbsDir().matrix (matrix); 216 217 glMultMatrixf((float*)matrix);
Note: See TracChangeset
for help on using the changeset viewer.