d3d_light_define_direction - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Defines a directional light using the given values.
- ind, index of the light
- dx, (dx, dy, dz) are the directional vector in which the light points
- dy
- dz
- col, color of the light
No values are returned from the function.
// Demonstrates defining directional light 0 as pointing directly down with the color yellow.
d3d_light_define_direction(0, 0, 0, -1, c_yellow);
NOTOC