##### Ninja Library - Camera Function

# njYawCameraInterest

Rotates camera visual axis around local Y axis

### FORMAT

`

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

`

### PARAMETER

  `*c` | Pointer to camera structure
  `ang` | Rotation angle (relative amount)

### RETURN

  None

### DESCRIPTION

  Rotates camera visual axis around local Y axis.

### EXAMPLE

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

      NJS_CAMERA c;
      njInitCamera(&c);
      njYawCamereInterest(&c, NJM_DEG_ANG(90));
      njSetCamera(&c);

njYawCameraInterest

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999