Deletes the given light.
Note that the object in the world will stay litted even after the light was deleted
To remove the light effect from the objects use STATE_light_remove_light()
or STATE_group_remove_light()
Note not to use the handle after it the light was deleted
Example:
STATE_light_delete(my_light);
my_light=NULL;
|