- Timestamp:
- Jan 31, 2007, 5:58:30 AM (18 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/heavy_blaster.cc
r10539 r10548 231 231 this->getAbsCoor ().y, 232 232 this->getAbsCoor ().z); 233 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 234 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 233 235 234 236 if (this->leftRight == W_LEFT) -
trunk/src/world_entities/weapons/medium_blaster.cc
r10539 r10548 159 159 glMatrixMode(GL_MODELVIEW); 160 160 glPushMatrix(); 161 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 162 163 static_cast<StaticModel*>(this->getModel())->draw(0); 161 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 162 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 163 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 164 static_cast<StaticModel*>(this->getModel())->draw(0); 164 165 165 166 glPushMatrix();
Note: See TracChangeset
for help on using the changeset viewer.