I have a basic question, the kind that seems so basic it's rather hard
to find an answer to it just searching.

In learning about OpenGL and pyglet I found something like this:

glClearColor(*color)

That is, this works where glClearColor(color) would not (if color was
some array of floats).

It seems like it breaks up the array into individual arguments but
does it do something else?

The '*' must change 'color' in some way but I don't know exactly how,
can someone clear this up? Thanks!
--~--~---------~--~----~------------~-------~--~----~
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