• Advertisement
Sign in to follow this  


This topic is 3387 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I'm having trouble with glVertexAttribPointer(). My current code, in Python is:
location = glGetAttribLocation(program,"vert_tangent")
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:
vectors = [,,,,,,,,,,,,,,,,,,,, ... ] #doesn't work
vectors = [[,,],[,,],[,,],[,,], ... ] #also doesn't work
What format should "vectors" be in then? Thanks, -G

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement