D3d_light_define_direction - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Defines a directional light using the given values.

Parameters

  • 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

Return Values

No values are returned from the function.

Example Call

// Demonstrates defining directional light 0 as pointing directly down with the color yellow.
d3d_light_define_direction(0, 0, 0, -1, c_yellow);

NOTOC