setLightPos

HC Graphics Lighting setLightPos
Lighting setLightAmbient

setLightPos 3darraypos


command setting the position of light0 of OpenGL.

The argument is a array containing three numbers (the position).

Example:

cs
perspective
setPC 4
Sphere 300
setLightPos {0 0 100}
redraw

Reference:

Lighting setLightAmbient