Changeset 1032 for code/trunk/src/orxonox/tools/BillboardSet.cc
- Timestamp:
- Apr 12, 2008, 4:08:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/tools/BillboardSet.cc
r790 r1032 32 32 #include <OgreSceneManager.h> 33 33 34 #include " ../Orxonox.h"34 #include "GraphicsEngine.h" 35 35 #include "util/Math.h" 36 36 … … 50 50 std::ostringstream name; 51 51 name << (BillboardSet::billboardSetCounter_s++); 52 this->billboardSet_ = Orxonox::getSingleton()->getSceneManager()->createBillboardSet("Billboard" + name.str(), count);52 this->billboardSet_ = GraphicsEngine::getSingleton().getSceneManager()->createBillboardSet("Billboard" + name.str(), count); 53 53 this->billboardSet_->createBillboard(position, colour); 54 54 this->billboardSet_->setMaterialName(file); … … 58 58 { 59 59 if (this->billboardSet_) 60 Orxonox::getSingleton()->getSceneManager()->destroyBillboardSet(this->billboardSet_);60 GraphicsEngine::getSingleton().getSceneManager()->destroyBillboardSet(this->billboardSet_); 61 61 } 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.