njTranslateLightV | Japanese
    <-|INDEX|->
Moves a light matrix laterally according to a directional vector.

### FORMAT

      #include <NINJA.H>
      void njTranslateLightV( *ptr, *vctr )
      NJS_LIGHT *ptr
      NJS_VECTOR *vctr

### PARAMETERS

*ptr
  light pointer
*vctr
  pointer to directional vector

### RETURN VALUE

  None

### ERROR VALUE

  None

### FUNCTION

- Uses a directional vector to move 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;
      NJS_VECTOR vector;

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

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

      /* Move by vector */
      njTranslateLightV(&light, &vector);

### NOTES

- Before calling this function, the light source must be specified by njCreateLight and njClearMatrix must be called.

### RELATED TOPICS

  njCreateLight()

njTranslateLightV |
    <-|INDEX|->