original_docstring:  Draw a 3D cross at the given point. 
docstring: Draw a 3D cross at the given point.
docstring_tokens: Draw a 3D cross at the given point .
code: def draw_cross(self,point,width=0.08,color=[0.8,0.8,0.5,1.0],line_width=2.0):
          """ Draw a 3D cross at the given point. """
          glColor4fv(color)
          glLineWidth(line_width)
          glBegin(GL_LINES)
          pt1 = [ point[0]-width, point[1], point[2] ]
          pt2 = [ point[0]+width, point[1], point[2] ]
          glVertex3dv(pt1)
          glVertex3dv(pt2)
          pt1 = [ point[0], point[1]-width, point[2] ]
          pt2 = [ point[0], point[1]+width, point[2] ]
          glVertex3dv(pt1)
          glVertex3dv(pt2)
          pt1 = [ point[0], point[1], point[2]-width ]
          pt2 = [ point[0], point[1], point[2]+width ]
          glVertex3dv(pt1)
          glVertex3dv(pt2)
          glEnd()
code_tokens: def draw_cross ( self , point , width = 0.08 , color = [ 0.8 , 0.8 , 0.5 , 1.0 ] , line_width = 2.0 ) : glColor4fv ( color ) glLineWidth ( line_width ) glBegin ( GL_LINES ) pt1 = [ point [ 0 ] - width , point [ 1 ] , point [ 2 ] ] pt2 = [ point [ 0 ] + width , point [ 1 ] , point [ 2 ] ] glVertex3dv ( pt1 ) glVertex3dv ( pt2 ) pt1 = [ point [ 0 ] , point [ 1 ] - width , point [ 2 ] ] pt2 = [ point [ 0 ] , point [ 1 ] + width , point [ 2 ] ] glVertex3dv ( pt1 ) glVertex3dv ( pt2 ) pt1 = [ point [ 0 ] , point [ 1 ] , point [ 2 ] - width ] pt2 = [ point [ 0 ] , point [ 1 ] , point [ 2 ] + width ] glVertex3dv ( pt1 ) glVertex3dv ( pt2 ) glEnd ( )
short_docstring: Draw a 3D cross at the given point.
short_docstring_tokens: Draw a 3D cross at the given point .
comment: """ Draw a 3D cross at the given point. """