njInitView | Japanese
    <-|INDEX|->
Initializes the view.

### FORMAT

      #include <Ninja.h>

      void njInitView(*v)
      NJS_VIEW *v

### PARAMETERS

*v
  view structure pointer

### RETURN VALUE

  None

### FUNCTION

- Initializes the user-defined view as follows:

      Position    (PX,PY,PZ) = (0,0, 0)     //origin
      Orientation (VX,XY,XZ) = (0,0,-1)     //toward back of screen
      Tilt (roll, or tilt along the Z axis of line of sight)    //0 degrees
      View matrix = Unit matrix

### EXAMPLE

      NJS_VIEW v;
      njInitView(&v);

### NOTES

- This function may be omitted when settings are made directly in the view structure.
- Structure members which must be set are:

      px, py, pz   (view point)
      vx, vy, vz   (view direction)
      roll         (view tilt)

  It is not necessary to set the view matrix.

### RELATED TOPICS

  njSetView()
  njClearMatrix()

njInitView |
    <-|INDEX|->