(self)
render the AABB. This can be useful for debugging purposes
render the AABB. This can be useful for debugging purposes
render the AABB . This can be useful for debugging purposes
def render(self):
        """ render the AABB. This can be useful for debugging purposes """
        glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
        glMatrixMode(GL_MODELVIEW)
        glPushMatrix()
        glTranslated(self.center[0], self.center[1], self.center[2])
        glCallList(G_OBJ_CUBE)
        glPopMatrix()
        glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)
def render ( self ) : glPolygonMode ( GL_FRONT_AND_BACK , GL_LINE ) glMatrixMode ( GL_MODELVIEW ) glPushMatrix ( ) glTranslated ( self . center [ 0 ] , self . center [ 1 ] , self . center [ 2 ] ) glCallList ( G_OBJ_CUBE ) glPopMatrix ( ) glPolygonMode ( GL_FRONT_AND_BACK , GL_FILL )