Changeset 4671 in orxonox.OLD for orxonox/trunk/src/subprojects/collision_detection
- Timestamp:
- Jun 23, 2005, 6:54:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4661 r4671 232 232 } 233 233 234 235 int blendedBox(GtkWidget* nonInterest, void* widget) 236 { 237 if(drawMode & DRAW_BV_BLENDED) 238 { 239 int temp = drawMode & DRAW_BV_BLENDED; 240 drawMode ^= temp; 241 printf("Removing OBB Polygons\n"); 242 } 243 else 244 { 245 drawMode |= DRAW_BV_BLENDED; 246 printf("Drawing OBB Polygons\n"); 247 } 248 } 249 250 234 251 int treeDepth(GtkWidget* nonInterest, void* widget) 235 252 { … … 258 275 Box* windowBox = new Box('v'); 259 276 { 260 CheckButton* BoxPolygons = new CheckButton(" BoxPolygons");277 CheckButton* BoxPolygons = new CheckButton("Draw OBB Polygons"); 261 278 BoxPolygons->connectSignal("clicked", (void*)BoxPolygons, boxPolygons); 262 279 windowBox->fill(BoxPolygons); 280 281 282 CheckButton* BlendedBox = new CheckButton("Draw OBB Blended"); 283 BlendedBox->connectSignal("clicked", (void*)BlendedBox, blendedBox); 284 windowBox->fill(BlendedBox); 263 285 264 286 … … 266 288 SeperatingPlanes->connectSignal("clicked", (void*)SeperatingPlanes, seperatingPlanes); 267 289 windowBox->fill(SeperatingPlanes); 290 268 291 269 292 Slider* TreeDepth = new Slider("TreeDepth", 0, 5);
Note: See TracChangeset
for help on using the changeset viewer.