Changeset 4712 in orxonox.OLD for orxonox/trunk/src/subprojects/collision_detection
- Timestamp:
- Jun 26, 2005, 10:56:45 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4711 r4712 79 79 entityList = new tList<WorldEntity>(); 80 80 81 a = new TestEntity(); a->setName("Clown1"); 82 b = new Environment(); a->setName("Clown"); 83 //b = new Environment(); b->setName("Jaeger"); 81 a = new TestEntity(); a->setName("Clown1"); 82 b = new Environment(); b->setName("Jaeger"); 84 83 //c = new Terrain(); 85 84 86 85 b->setRelCoor(0.0, 0.0, -10.0); 87 86 //b->setRelDir(Quaternion(-M_PI/2.0f, Vector(0.0, 1.0, 0.0))); 88 87 … … 336 335 337 336 337 int drawPoints(GtkWidget* nonInterest, void* widget) 338 { 339 if(drawMode & DRAW_POINTS) 340 { 341 int temp = drawMode & DRAW_POINTS; 342 drawMode ^= temp; 343 344 } 345 else 346 { 347 drawMode |= DRAW_POINTS; 348 printf("Drawing OBB Polygons\n"); 349 } 350 } 351 352 338 353 int treeDepth(GtkWidget* nonInterest, void* widget) 339 354 { … … 377 392 378 393 394 CheckButton* DrawPoints = new CheckButton("Draw Points"); 395 DrawPoints->connectSignal("clicked", (void*)DrawPoints, drawPoints); 396 windowBox->fill(DrawPoints); 397 398 379 399 CheckButton* SeperatingPlanes = new CheckButton("SeperatingPlanes"); 380 400 SeperatingPlanes->connectSignal("clicked", (void*)SeperatingPlanes, seperatingPlanes); … … 382 402 383 403 384 Slider* TreeDepth = new Slider("TreeDepth", 0, 1 0);404 Slider* TreeDepth = new Slider("TreeDepth", 0, 17); 385 405 TreeDepth->connectSignal("value_changed", (void*)TreeDepth, treeDepth); 386 406 windowBox->fill(TreeDepth);
Note: See TracChangeset
for help on using the changeset viewer.