Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 24, 2005, 5:13:20 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: tuning orxonox via benchmarking, virt. inline functions can't be inline unless used in a very spec way

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

Legend:

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

    r3616 r3649  
    149149   \param time in sec
    150150*/
    151 void Primitive::tick (float time)
     151inline void Primitive::tick (float time)
    152152{
    153153  // Vector v(0.0, 0.0, 1.0);
     
    159159   \brief drawing function of the object
    160160*/
    161 void Primitive::draw ()
     161inline void Primitive::draw ()
    162162{
    163163  glMatrixMode(GL_MODELVIEW);
  • orxonox/trunk/src/world_entities/world_entity.cc

    r3608 r3649  
    170170   Handle all stuff that should update with time inside this method (movement, animation, etc.)
    171171*/
    172 void WorldEntity::tick(float time)
     172inline void WorldEntity::tick(float time)
    173173{
    174174}
     
    180180   This is a central function of an entity: call it to let the entity painted to the screen. Just override this function with whatever you want to be drawn.
    181181*/
    182 void WorldEntity::draw()
     182inline void WorldEntity::draw()
    183183{}
    184184
Note: See TracChangeset for help on using the changeset viewer.