Original Post
Hello, I'm having trouble with glVertexAttribPointer(). My current code, in Python is:I'm getting a type error in the last argument; the trouble is in "vectors". I've tried vectors in either a list form or a list of lists form, so when vectors is in the form:What format should "vectors" be in then? Thanks, -G
location = glGetAttribLocation(program,"vert_tangent")
glVertexAttribPointer(location,3,GL_FLOAT,GL_FALSE,0,vectors)
vectors = [,,,,,,,,,,,,,,,,,,,, ... ] #doesn't work
vectors = [[,,],[,,],[,,],[,,], ... ] #also doesn't work