Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4617 in orxonox.OLD for orxonox/trunk/src/subprojects


Ignore:
Timestamp:
Jun 13, 2005, 9:32:26 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now the depth obb tree calculation works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc

    r4615 r4617  
    3131{
    3232  CDEngine::getInstance();
    33   //CDEngine::getInstance()->debug();
     33  CDEngine::getInstance()->debug();
    3434
    35   model = new MD2Model("models/tris.md2", "models/tris.pcx");
    36   model->tick(0.1f);
    37   CDEngine::getInstance()->debugSpawnTree(1, model->data->pVertices, model->data->numVertices);
     35  //model = new MD2Model("models/tris.md2", "models/tris.pcx");
     36  //model->tick(0.1f);
     37  //CDEngine::getInstance()->debugSpawnTree(2, model->data->pVertices, model->data->numVertices);
    3838
    3939  LightManager* lightMan = LightManager::getInstance();
     
    7070  LightManager::getInstance()->draw();
    7171
    72   model->draw();
     72  //model->draw();
    7373}
    7474
     
    8484void Framework::moduleInitGui(int argc, char** argv)
    8585{
    86   Window* guiMainWindow = NULL;
    87 
    88   initGUI(0, NULL);
    89 
    90   guiMainWindow = new Window("Collision_detection");
    91   {
    92     // all the Widgets you need
    93   }
    94   Window::mainWindow->showall();
    95   Window::mainWindow->setSize(300, 500);
     86//   Window* guiMainWindow = NULL;
     87//
     88//   initGUI(0, NULL);
     89//
     90//   guiMainWindow = new Window("Collision_detection");
     91//   {
     92//     // all the Widgets you need
     93//   }
     94//   Window::mainWindow->showall();
     95//   Window::mainWindow->setSize(300, 500);
    9696}
Note: See TracChangeset for help on using the changeset viewer.