Changeset 10728 in orxonox.OLD for branches/presentation/src/world_entities/projectiles
- Timestamp:
- Jun 20, 2007, 11:39:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/projectiles/nadion_blast.cc
r10722 r10728 213 213 float matrix[4][4]; 214 214 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 215 glRotatef(this->angle, 1.0f, 0.0f, 0.0f); //spinning missile 216 // glRotatef(this->angle, this->flightDirection.x, this->flightDirection.y, this->flightDirection.z); 215 // glRotatef(this->angle, 1.0f, 0.0f, 0.0f); //spinning missile 216 // HACK, need to be removed, once the AbsDir is correct, replace with the one above 217 glRotatef(this->angle, this->flightDirection.x, this->flightDirection.y, this->flightDirection.z); 217 218 this->getAbsDir().matrix (matrix); 218 219 glMultMatrixf((float*)matrix);
Note: See TracChangeset
for help on using the changeset viewer.