njUnitViewVector | Japanese
    <-|INDEX|--
Converts the view vector to a unit vector.

### FORMAT

      #include <Ninja.h>

      void njUnitViewVector( *v )
      NJS_VIEW *v

### PARAMETERS

NJS_VIEW *v
  pointer to the view structure

### RETURN VALUE

  None

### FUNCTION

- Converts both the view vector of the current user-specified view and the base view vector to unit vectors.

### EXAMPLE

      NJS_VIEW v;

      v.px = v.py = v.pz = 0.f;
      v.apx = v.apy = v.apz = 0.f;
      v.vx = v.vy = v.vz = 1.f;
      v.avx = v.avy = v.avz = 1.f;
      njUnitViewVector(&v);

### NOTES

- When parameter v is NULL, the operation is performed on the view matrix of the current view.

  njUnitViewMatrix(NULL);

### RELATED TOPICS

njUnitViewVector |
    <-|INDEX|--