##### Ninja Library - View Function

# njClipZ

Specifies the limit values of near clipping and far clipping

### FORMAT

`

  void njClipZ(n, f)
  Float n
  Float f

`

### PARAMETER

  `n` | Near clipping limit value
  `f` | Far clipping limit value

### RETURN

  None

### DESCRIPTION

  Specifies the limit values of near clipping and far clipping. Since the area behind the screen is represented by a negative Z axis in the Ninja coordinate system, n and f are specified as negative values. (-1.0 => n > f => -65535.0) Specified values of greater than -1.0 or less than -65535.0 are automatically changed to -1.0 or -65535.0, respectively.

### EXAMPLE

      #define N_CLIP   -500.f
      #define F_CLIP   -50000.f
      njClipZ(N_CLIP, F_CLIP);

### NOTE

  Clipping performed in drawings done by functions starting with njCnkSimple and njCnkEasy is model-by-model bases. To activate the setting of this function in the above mentioned drawing function, specify NJD_CONTROL_3D_MODEL_CLIP in `njControl3D()` function.

### REFERENCE

  `njControl3D()
  `

njClipZ

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999