##### Ninja Library - Camera Function

# njInitCamera

Initializes camera

### FORMAT

`

  void njInitCamera(*c)
  NJS_CAMERA *c

`

### PARAMETER

  `*c` | Pointer to camera structure

### RETURN

  None

### DESCRIPTION

  Initializes the camera to the following values.

  Position (px, py, pz) = (0, 0, 0) (world coordinate origin)
  Direction (vx, vy, vz) = (0, 0, -1) (facing into the rear of the screen)
  Inclination (roll, inclination in Z axis = visual axis) 0 degree
  Screen angle 60 degrees
  Near-clip value -1
  Far-clip value -60000
  Local X axis (1, 0, 0)
  Local Y axis (0, 1, 0)

### EXAMPLE

      NJS_CAMERA c;

      njInitCamera(&c);

njInitCamera

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999