Changeset 1285 for GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include
- Timestamp:
- 08/25/06 17:44:02 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include/TestKdTree.h
r1274 r1285 46 46 } 47 47 48 // save entities to ascii file 49 bool saveSceneASCII(const String& filename, SceneNode *entityroot); 48 50 protected: 49 51 KdTreeAppListener *mFrameListener; … … 84 86 bool loadScene(const String& filename); 85 87 bool loadSceneIV(const String &filename, SceneNode *root, const int index); 88 // loadding world geometry from cfg file - for terrain 89 bool loadSceneCfg(const String &filename, SceneNode *root, const int index); 90 // load entities from ascii file 91 bool loadSceneASCII(const String &filename, SceneNode *root, const int index); 92 93 typedef std::list<SceneNode *> NodeList; 94 void addNodesToList(SceneNode* node, NodeList& list); 86 95 87 96 void createMaterials(void); -
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include/TestKdTreeAppListener.h
r1274 r1285 66 66 typedef std::list<FrameInfo> FrameList; 67 67 68 class KdTreeApp; 69 68 70 class KdTreeAppListener: public FrameListener, public KeyListener 69 71 { … … 120 122 mDemoMode(false), 121 123 mEnhancedVisibility(false), 122 mDemoInterval(1.0f) 124 mDemoInterval(1.0f), 125 myApp(0) 123 126 { 124 127 … … 126 129 127 130 String mSceneFiles; 131 String mSceneOutfileName; 128 132 String mDemoInfileName; 129 133 String mDemoOutfileName; … … 142 146 bool mEnhancedVisibility; 143 147 Real mDemoInterval; 148 KdTreeApp *myApp; 144 149 }; 145 150
Note: See TracChangeset
for help on using the changeset viewer.