##### Ninja Library - View Function

# njSetScreenDist

Sets the distance from the perspective to the screen

### FORMAT

`

  void njSetScreenDist(dist)
  Float dist

`

### PARAMETER

  `dist` | Distance from the perspective to the screen

### RETURN

  None

### DESCRIPTION

  Sets the distance from the perspective to the screen.

### EXAMPLE

      Sets the distance between the perspective and the screen to 2000.f.
      sbInitSystem( NJD_RESOLUTION_640x240_NTSCNI, NJD_FRAMEBUFFER_MODE_RGB565, 1 );
      njSetScreenDist(2000.f);

njSetScreenDist

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999