Hi!
I cannot recognise what sort of python construct is this,
i do understand though that it's needed for passing arrays in opengl.

vertices_gl = (GLfloat * len(vertices))(*vertices)

This means multipling a type with an int and then calling it ?
Or casting ?
Never seen anything like this in python.
Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to