im very new to python/pyglet, ive programmed as a side hobby for a while in
different languages though, and im having trouble trying to use
glLightModelfv().
this is what ive tried
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, [0.9, 0.9, 0.9, 1.0])
but it gives me an error and says it needs an LP_c_float instead of a list.
ive done it in java and C++ by doing GLfloat ambientLight = {0.9, 0.9, 0.9,
1.0}, but python doesnt let you specify what it is...
so im confused. any help?
--
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.