glVertex2f (*p1) bgl.glVertex2f(*p2) bgl.glEnd() # Draw line. bgl.glLineWidth(1.5 if shadow else 1.0) bgl.glColor3f(*color) bgl.glBegin(bgl.GL_LINES) bgl.
確定! 回上一頁