Changeset 4630 in orxonox.OLD for orxonox/trunk/src/subprojects
- Timestamp:
- Jun 14, 2005, 5:19:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4629 r4630 35 35 model = new MD2Model("models/tris.md2", "models/tris.pcx"); 36 36 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); 38 50 39 51 … … 70 82 void Framework::moduleDraw() const 71 83 { 72 CDEngine::getInstance()->drawBV( 2);84 CDEngine::getInstance()->drawBV(1); 73 85 74 86 LightManager::getInstance()->draw();
Note: See TracChangeset
for help on using the changeset viewer.