Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2009, 2:44:36 PM (15 years ago)
Author:
rgrieder
Message:

Added attachOgreObject and detachOgreObject overloads for Ogre::Camera, Ogre::Entity, Ogre::BillboardSet and Ogre::ParticleSystem.
This saves about nine Ogre includes ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/objects/worldentities/WorldEntity.h

    r3186 r3188  
    173173                { return this->children_; }
    174174
    175             void attachOgreObject(Ogre::MovableObject* object);
    176             void detachOgreObject(Ogre::MovableObject* object);
     175            void attachOgreObject(Ogre::MovableObject*  object);
     176            void attachOgreObject(Ogre::BillboardSet*   object);
     177            void attachOgreObject(Ogre::Camera*         object);
     178            void attachOgreObject(Ogre::Entity*         object);
     179            void attachOgreObject(Ogre::ParticleSystem* object);
     180
     181            void detachOgreObject(Ogre::MovableObject*  object);
     182            void detachOgreObject(Ogre::BillboardSet*   object);
     183            void detachOgreObject(Ogre::Camera*         object);
     184            void detachOgreObject(Ogre::Entity*         object);
     185            void detachOgreObject(Ogre::ParticleSystem* object);
     186
    177187            Ogre::MovableObject* detachOgreObject(const Ogre::String& name);
    178188
Note: See TracChangeset for help on using the changeset viewer.