Changeset 4638 in orxonox.OLD for orxonox/trunk/src/subprojects
- Timestamp:
- Jun 16, 2005, 1:42:14 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4636 r4638 37 37 { 38 38 CDEngine::getInstance(); 39 //CDEngine::getInstance()->debug();40 41 model = new MD2Model("models/tris.md2", "models/tris.pcx");42 model->tick(0.1f);39 CDEngine::getInstance()->debug(); 40 41 //model = new MD2Model("models/tris.md2", "models/tris.pcx"); 42 //model->tick(0.1f); 43 43 44 44 // int const length = 6; … … 53 53 // } 54 54 55 CDEngine::getInstance()->debugSpawnTree(7, model->data->pVertices, model->data->numVertices);55 //CDEngine::getInstance()->debugSpawnTree(3, model->data->pVertices, model->data->numVertices); 56 56 57 57 … … 59 59 lightMan->setAmbientColor(.1,.1,.1); 60 60 lightMan->addLight(); 61 lightMan->setPosition(30, 30, 30); 61 62 lightMan->addLight(); 62 lightMan->setPosition( 10, 20, 100);63 lightMan->setPosition(-30, -30, -30); 63 64 64 65 drawMode = DRAW_MODEL; … … 71 72 printf(" -| Displaying Separation Plane\t s\n"); 72 73 printf("\n"); 74 printf(" -| Tree Depth 0\t\t 0\n"); 73 75 printf(" -| Tree Depth 1\t\t 1\n"); 74 76 printf(" -| Tree Depth 2\t\t 2\n"); … … 90 92 drawMode |= DRAW_ALL; 91 93 break; 94 case SDLK_0: 95 { 96 printf("Setting tree depth = 0\n"); 97 depth = 0; 98 int temp = drawMode & DRAW_ALL; 99 drawMode ^= temp; 100 drawMode |= DRAW_SINGLE; 101 break; 102 } 92 103 case SDLK_1: 93 104 {
Note: See TracChangeset
for help on using the changeset viewer.