Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2005, 5:19:23 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: the memory requirements are lowered, some strucural changes in the bv generation

File:
1 edited

Legend:

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

    r4629 r4630  
    3535  model = new MD2Model("models/tris.md2", "models/tris.pcx");
    3636  model->tick(0.1f);
    37   CDEngine::getInstance()->debugSpawnTree(2, model->data->pVertices, model->data->numVertices);
     37
     38//   int const length = 6;
     39//   sVec3D* vertList = new sVec3D[length];
     40//   sVec3D data[length]  = {{5.0, 0.0, 0.0},{2.0, 0.0, 5.0},{14.0, 0.0, 0.0}, {5.0, 0.0, 1.0}, {12.0, 0.0, 8.0}, {3.0, 5.0, 4.9}};
     41//
     42//   for(int i = 0; i < length; ++i)
     43//   {
     44//     vertList[i][0] = data[i][0];
     45//     vertList[i][1] = data[i][1];
     46//     vertList[i][2] = data[i][2];
     47//   }
     48
     49  CDEngine::getInstance()->debugSpawnTree(1, model->data->pVertices, model->data->numVertices);
    3850
    3951
     
    7082void Framework::moduleDraw() const
    7183{
    72   CDEngine::getInstance()->drawBV(2);
     84  CDEngine::getInstance()->drawBV(1);
    7385
    7486  LightManager::getInstance()->draw();
Note: See TracChangeset for help on using the changeset viewer.