我正在尝试运行一个使用openglforpython的函数。一个引发错误的方法头如下所示: def __init__(self, attributes, index=None, usage=GL.GL_STATIC_DRAW): 此错误是在 usage=GL.GL_STATIC_DRAW) . 但是,每一个其他的gl方法工作,它只是这个方法头的一个。如果我把它改成gl\u dynamic\u draw也不行。在python无法识别函数的行中是否存在语法问题?
def __init__(self, attributes, index=None, usage=GL.GL_STATIC_DRAW):
usage=GL.GL_STATIC_DRAW)
目前还没有任何答案,快来回答吧!
暂无答案!
目前还没有任何答案,快来回答吧!