Changeset 2678 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 05/15/08 13:02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2677 r2678 522 522 glPopMatrix(); 523 523 524 #if 1 525 // test the box of the object 526 AxisAlignedBox3 box = leaf->GetBox(); 527 RenderBox(box); 528 #endif 524 if (1) 525 { 526 // test the box of the object 527 AxisAlignedBox3 box = leaf->GetBox(); 528 RenderBox(box); 529 } 529 530 } 530 531 … … 567 568 for (dit = p->mDynamicObjects.begin(); dit != dit_end; ++ dit) 568 569 { 569 #if USE_TRANSFORMED_MESH_INSTANCE_HACK570 RenderIntersectable(*dit);571 #else572 570 _RenderDynamicObject(*dit); 571 } 573 572 #endif 574 }575 #endif576 577 #if 1578 573 _RenderSceneTrianglesWithDrawArrays(); 579 574 580 #else581 static int glList = -1;582 if (mUseGlLists) {583 if (glList == -1) {584 glList = glGenLists(1);585 glNewList(glList, GL_COMPILE);586 _RenderSceneTriangles();587 glEndList();588 }589 590 glCallList(glList);591 } else592 _RenderSceneTriangles();593 594 #endif595 575 return true; 596 576 }
Note: See TracChangeset
for help on using the changeset viewer.