Commits

Frederic De Groef committed f7efbbf

using the cologreng namespace

  • Participants
  • Parent commits 91fa3f4

Comments (0)

Files changed (2)

File ogre-cologre-test/ColladaLoaderApp.cpp

 {
     createGrid(500);
 
-    CColladaDatabase db;
-    int ret = 0;
 
     //
     //if(ret = db.load("../../../media/indochine.DAE"))
     //exit(-1);
     //ret = db.load("../../media/indochine_tris.DAE");
 
-    ret = db.load("../../media/cube.dae");
+    int ret = 0;
+    ret = mColladaDatabase.load("../../media/cube.dae");
     assert(ret == 0);              
 
-    db.convertResources();
+    mColladaDatabase.convertResources();
     _dumpResourceList();
 
-    db.convertScene(mSceneMgr);
+    mColladaDatabase.convertScene(mSceneMgr);
 
 }
 //-----------------------------------------------------------------------------

File ogre-cologre-test/ColladaLoaderApp.h

     void _dumpSharedData(Ogre::Log *_log, Ogre::MeshPtr);
 
 protected:
-    CColladaDatabase db;
+    cologreng::CColladaDatabase mColladaDatabase;
 };
 #endif