##### Ninja Library - Camera Function

# njPitchCameraInterest

Rotates camera direction around local X axis

### FORMAT

`

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

`

### PARAMETER

  `*c` | Pointer to camera structure
  `ang` | Rotate angle

### RETURN

  None

### DESCRIPTION

  Rotates the camera visual axis around the X axis of the local coordinate system.

### EXAMPLE

      Camera is at (0, 0, 0) and faces in (0, 0, -1) direction.
      The following leaves camera position as is and rotates only visual axis by 90 degrees around X axis.

      NJS_CAMERA c;

      njInitCamera(&c);
      njPitchCameraInterest(&c, NJM_DEG_ANG(90));
      njSetCamera(&c);

njPitchCameraInterest

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999