##### Ninja Library - Camera Function

# njSetCameraAngle

Sets camera angle in horizontal direction

### FORMAT

`

  void njSetCameraAngle(*c, ang)
  NJS_CAMERA *c
  Angle ang

`

### PARAMETER

  `*c` | Pointer to camera structure
  `ang` | Visual angle in horizontal direction

### RETURN

  None

### DESCRIPTION

  Sets camera angle in horizontal direction. In practice, this function determines and sets the distance to the screen from the specified horizontal screen angle.

### EXAMPLE

      The following sets horizontal angle to 120 degrees.
      NJS_CAMERA c;
      njInitCamera(&c);
      njSeCameraAngle(&c, NJM_DEG_ANG(120));
      njSetCamera(&c);

njSetCameraAngle

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999