- Timestamp:
- Jan 31, 2007, 5:47:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/swarm_projectile.cc
r10545 r10547 265 265 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 266 266 Vector tmpRot = this->getAbsCoor().cross(tmpDir); 267 glRotatef (angle Rad( this->getAbsCoor(), tmpDir), tmpRot.x, tmpRot.y, tmpRot.z );267 glRotatef (angleDeg ( this->getAbsCoor(), tmpDir), tmpRot.x, tmpRot.y, tmpRot.z ); 268 268 glRotatef(this->angle, 1.0f, 0.0f, 0.0f); //spinning missile 269 269 this->getAbsDir().matrix (matrix); 270 270 glMultMatrixf((float*)matrix); 271 //glScalef(2.0, 2.0, 2.0); // no double rescale272 271 this->getModel()->draw(); 273 272 glTranslatef(-.9,0,0);
Note: See TracChangeset
for help on using the changeset viewer.