Changeset 3676 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 30, 2005, 5:42:02 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.cc
r3675 r3676 33 33 Projectile::Projectile () : WorldEntity() 34 34 { 35 this->model = (Model*)ResourceManager::getInstance()->load("cube", PRIM, RP_LEVEL); 36 // this->projectileModel = new Primitive(P_SPHERE); 35 this->model = (Model*)ResourceManager::getInstance()->load("sphere", PRIM, RP_LEVEL); 37 36 this->flightDirection = NULL; 38 37 this->currentLifeTime = 0.0f; … … 138 137 glMultMatrixf((float*)matrix); 139 138 this->model->draw(); 140 //this->projectileModel->draw();141 139 142 140 glPopMatrix(); -
orxonox/trunk/src/world_entities/projectile.h
r3646 r3676 9 9 #include "world_entity.h" 10 10 11 class Primitive;12 11 class Vector; 13 12 … … 32 31 private: 33 32 //physical attriutes like: force, speed, acceleration etc. 34 Primitive* projectileModel; //!< this serves temporary as a plasma bullet35 33 float speed; //!< this is the speed of the projectile 36 34 float currentLifeTime; //!< this is the time, the projectile exists in this world (incremented by tick)
Note: See TracChangeset
for help on using the changeset viewer.