Changeset 6022 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Dec 10, 2005, 8:33:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/test_gun.cc
r5994 r6022 24 24 25 25 #include "world_entity.h" 26 #include " model.h"26 #include "static_model.h" 27 27 #include "test_bullet.h" 28 28 #include "weapon_manager.h" … … 219 219 if( this->leftRight == W_RIGHT) 220 220 glScalef(1.0, 1.0, -1.0); 221 this->getModel()->draw(1);221 static_cast<StaticModel*>(this->getModel())->draw(1); 222 222 glPopMatrix(); 223 223 … … 230 230 tmpRot = this->objectComponent1->getAbsDir().getSpacialAxis(); 231 231 glRotatef (this->objectComponent1->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 232 this->getModel()->draw(0);232 static_cast<StaticModel*>(this->getModel())->draw(0); 233 233 glPopMatrix(); 234 234 }
Note: See TracChangeset
for help on using the changeset viewer.