>
>
>    1. As you're using immediate mode anyway you might as well not pass 
> the vertex colour as part of your vertex list but use glColor* to set the 
> colour before drawing e.g. glColor3f(0.0, 1.0, 0.0)
>
> 2. You can put objects into a list so you could have
>
> squares = [[FilledSquare(...), FilledSquare(...)], [FilledSquare(...), 
> FilledSquare(...)]]
>
> HTH,
> Adam.
>

Hi Adam,

   Thanks a lot. I got it.

Best,
Vineeth

 

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to