njLightOn | Japanese
    <-|INDEX|->
Activates a light created by njCreateLight (turns on the light).

### FORMAT

      #include <NINJA.H>
      void njLightOn( *ptr )
      NJS_LIGHT *ptr

### PARAMETERS

*ptr
  light pointer

### RETURN VALUE

  None

### ERROR VALUE

  None

### FUNCTION

- Turns on an extinguished light. (Lights are on by default, so this function does not need to be called unless a light is extinguished.)

### EXAMPLE

      #include <NINJA.H>
      ...........

      NJS_LIGHT light;

      njInitSystem();
      njCreateLight(&light, NJD_DIR_LIGHT);
      ...........
      /* Extinguish parallel light source */
      njLightOff(&light);
      ...........
      /* Turn on parallel light source */
      njLightOn(&light);

### NOTES

- Metaphorically, njCreateLight and njDeleteLight have the same function as installing or removing a light bulb, while njLightOn and njLightOff have the function of turning on or off the light switch.

### RELATED TOPICS

  njCreateLight
  njLightOff

njLightOn |
    <-|INDEX|->