diff --git a/main.cpp b/main.cpp index 22b5be1..65597cf 100644 --- a/main.cpp +++ b/main.cpp @@ -47,9 +47,8 @@ void glut_render(void) { // render the bounding box glColor3f(0.0, 0.0, 1.0); - glBegin(GL_LINE_LOOP); - bb.glPointsCW(); - glEnd(); + bb.glWire(); + //render the GT network (red) glColor3f(1.0, 0.0, 0.0); @@ -160,18 +159,11 @@ void display(){ //generate a bounding volume bb = GT.boundingbox(); - std::cout<