Rev | Line | |
---|
[123] | 1 | #ifndef __DemoScene__ |
---|
| 2 | #define __DemoScene__ |
---|
| 3 | |
---|
| 4 | #include "Ogre.h" |
---|
| 5 | |
---|
| 6 | using namespace Ogre; |
---|
| 7 | |
---|
| 8 | class OrxonoxScene |
---|
| 9 | { |
---|
| 10 | public: |
---|
| 11 | OrxonoxScene(SceneManager*); |
---|
| 12 | |
---|
| 13 | virtual ~OrxonoxScene(); |
---|
| 14 | |
---|
| 15 | virtual bool initialise(); |
---|
| 16 | |
---|
| 17 | virtual void tick(unsigned long, float); |
---|
| 18 | |
---|
| 19 | private: |
---|
| 20 | SceneManager* mSceneMgr; |
---|
| 21 | |
---|
| 22 | //specific variables for test purposes |
---|
| 23 | Light *mLight; |
---|
| 24 | SceneNode *lightNode; |
---|
| 25 | BillboardSet *bbs; |
---|
| 26 | float distance, radius; |
---|
| 27 | |
---|
| 28 | /// method where you can perform resource group loading |
---|
| 29 | virtual void loadResources(void); |
---|
| 30 | |
---|
| 31 | // Define what is in the scene |
---|
| 32 | virtual void createScene(void); |
---|
| 33 | }; |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.