Sets the direction of the light.
This function is relevant only for spot light
The direction is set by giving a point in the world towards which the light should be pointed
See also STATE_light2_set_direction()
The reason is it is not relevant for directional lighting is because directonal lighting doesnt have location (so it cant point to a specific point)
The reason is it is not relevant for point lighting is because point lighting doesnt have a direction (so it cant point to a specific point)
|