From bbb519e6ba6226d4b9ddf44e4adaca6e8e1e3b9c Mon Sep 17 00:00:00 2001 From: David Date: Mon, 8 Feb 2016 13:23:34 -0600 Subject: [PATCH] fixed AABB display --- main.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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<