Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3676 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Mar 30, 2005, 5:42:02 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: debug-information for ResourceManager

Location:
orxonox/trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/projectile.cc

    r3675 r3676  
    3333Projectile::Projectile () : WorldEntity()
    3434{
    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);
    3736  this->flightDirection = NULL;
    3837  this->currentLifeTime = 0.0f;
     
    138137  glMultMatrixf((float*)matrix); 
    139138  this->model->draw();
    140   //this->projectileModel->draw();
    141139
    142140  glPopMatrix();
  • orxonox/trunk/src/world_entities/projectile.h

    r3646 r3676  
    99#include "world_entity.h"
    1010
    11 class Primitive;
    1211class Vector;
    1312
     
    3231 private:
    3332  //physical attriutes like: force, speed, acceleration etc.
    34   Primitive* projectileModel;          //!< this serves temporary as a plasma bullet
    3533  float speed;                         //!< this is the speed of the projectile
    3634  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.