##### Ninja Library - Camera Function

# njPointCameraInterest

Directs camera visual axis to specified point

### FORMAT

`

  void njPointCameraInterest(*c, x, y, z)
  NJS_CAMERA *c
  Float x
  Float y
  Float z

`

### PARAMETER

  `*c` | Pointer to camera structure
  `x` | X coordinate of point to which the visual axis should point
  `y` | Y coordinate of point to which the visual axis should point
  `z` | Z coordinate of point to which the visual axis should point

### RETURN

  None

### DESCRIPTION

  Directs the visual axis of the camera to the point (x, y, z).

### EXAMPLE

      Camera is at (500, 500, 500) and faces in (0, 0, -1) direction.
      The following directs visual axis to (0, 0, 0).

      NJS_CAMERA c;
      njInitCamera(&c);
      njTranslateCameraPosition(&c, 500.f, 500.f, 500.f);
      njjPointCameraInterest(&c, 0.f, 0.f, 0.f);
      njSetCamera(&c);

njPointCameraInterest

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999