41 : m_vertices(vertices), m_boxes(boxes), m_numPoints(numPoints), m_numBoxes(numBoxes)
63 glColor3f(0.54f, 0.17f, 0.89f);
67 glColor3f(1.0f, 0.64f, 0.0f);
77 glColor3f(125.0, 125.0, 125.0);
88 for(
int j = 0; j < 8; j++)
90 int vertex_pos = 4 *
m_boxes[box_pos + j];
99 glBegin(GL_LINE_LOOP);
100 glVertex3f(x[0], y[0], z[0]);
101 glVertex3f(x[1], y[1], z[1]);
102 glVertex3f(x[2], y[2], z[2]);
103 glVertex3f(x[3], y[3], z[3]);
106 glBegin(GL_LINE_LOOP);
107 glVertex3f(x[4], y[4], z[4]);
108 glVertex3f(x[5], y[5], z[5]);
109 glVertex3f(x[6], y[6], z[6]);
110 glVertex3f(x[7], y[7], z[7]);
114 glVertex3f(x[0], y[0], z[0]);
115 glVertex3f(x[4], y[4], z[4]);
117 glVertex3f(x[1], y[1], z[1]);
118 glVertex3f(x[5], y[5], z[5]);
120 glVertex3f(x[3], y[3], z[3]);
121 glVertex3f(x[7], y[7], z[7]);
123 glVertex3f(x[2], y[2], z[2]);
124 glVertex3f(x[6], y[6], z[6]);