|
Use this function to create a new light.
light_name is the name you want to call this light (give what ever name you want)
The location is the x,y,z coordinates of the light location
The location can be moved later using the function STATE_light_set_location()
Note that in order to see any light one has to call STATE_light_activate()
Example:
double position[3]={10,20,30} ; x=10, y=20, z=30
DWORD light=STATE_light_create("my_light",position);
|