njUnitLightMatrix | Japanese
    <-|INDEX|->
Unitizes a light matrix.

### FORMAT

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

### PARAMETERS

*ptr
  light pointer

### RETURN VALUE

  None

### ERROR VALUE

  None

### FUNCTION

- Unitizes a light matrix created with njCreateLight.
- This results in calculation of the position and direction of the light source.

### EXAMPLE

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

      NJS_LIGHT light;

      njInitSystem();
      njCreateLight(&light, NJD_POINT_LIGHT);

      ...........
      njClearMatrix();

      /* Unitizes the light matrix */
      njUnitLightMatrix(&light);

### NOTES

- Before using this function, the light must be specified with njCreateLight and njClearMatrix must be called.

### RELATED TOPICS

  njCreateLight()

njUnitLightMatrix |
    <-|INDEX|->