njDeleteLight | Japanese
    <-|INDEX|->
Deletes a light created by njCreateLight.

### FORMAT

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

### PARAMETERS

*ptr
  light pointer

### RETURN VALUE

  None

### ERROR VALUE

  None

### FUNCTION

- Deletes a light defined in the light system.
- However, after deletion, the light source can be restored by recalling njCreateLight.

### EXAMPLE

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

      NJS_LIGHT light;
      njInitSystem();

      /* Define parallel light source */
      njCreateLight(&light, NJD_DIR_LIGHT);
      ...........

      /* Delete parallel light source */
      njDeleteLight(&light);
      ...........

### NOTES

### RELATED TOPICS

  njCreateLight()

njDeleteLight |
    <-|INDEX|->