##### Ninja Library - Camera Function

# njForwardCameraPosition

Moves camera in currently facing direction

### FORMAT

`

  njForwardCameraPosition( *c, x )
  NJS_CAMERA *c
  Float x

`

### PARAMETER

  `*c` | Alpha mode
  `x` | Move distance

### RETURN

  None

### DESCRIPTION

  Moves the camera in the currently facing direction by specified distance.

### EXAMPLE

      The following moves camera placed at (0, 0, 0) and faced in (0, 0, -1) direction forward by 10.
      NJS_CAMERA c;
      njInitCamera(&c);
      njForwardCameraPosition(&c, 10.f);
      njSetCamera(&c);

njForwardCameraPosition

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999