C language function:glLightiv sample codes

Search sample code in the internet.It is the result.


TITLE : 3D solar system | Damien Leroux
It is really easy to use it: first, we had to enable light: glEnable(GL_LIGHTING) and glEnable(GL_LIGHT1) then to direct the light thanks to glLightiv(). To learn more, go to this OpenGL light tutorial........
http://damienleroux.com/3d-solar-system/@lang=en


TITLE : 3D solar system | Damien Leroux
glLightiv(GL_LIGHT1,GL_POSITION,lumiere_position1);.......
http://damienleroux.com/3d-solar-system/@lang=en
TITLE : glLight : PyOpenGL 3.1.0 GL Man Pages
glLightiv( GLenum ( light ) , GLenum ( pname ) , const GLint * ( params ) )-> void.......
http://pyopengl.sourceforge.net/documentation/manual-3.0/glLight.html
TITLE : glLight : PyOpenGL 3.1.0 GL Man Pages
glLightiv( light , pname , params ).......
http://pyopengl.sourceforge.net/documentation/manual-3.0/glLight.html
search Google

https://www.google.com/#q=glLightiv