##### Ninja Library - System Function

# njPolygonCullingMode

Sets polygon culling mode

### FORMAT

`

  void njPolygonCullingMode( mode )
  Int mode

`

### PARAMETER

  `mode` | Polygon culling mode

### RETURN

  None

### DESCRIPTION

  Sets polygon culling mode.

  The following modes can be set:

  NJD_POLYGON_NOCULLING | Do not perform culling at all (default)
  NJD_POLYGON_CULLINGSMALL | Perform culling for small polygons
  NJD_POLYGON_CULLINGACW | Perform culling to counter-clockwise polygons
  NJD_POLYGON_CULLINGCW | Perform culling to clockwise polygons

### NOTE

  In the NJD_POLYGON_CULLINGSMALL mode, the polygon size to be culled can be changed by the `njPolygonCullingSize()` function. Default value: size = 0.01f.

### REFERENCE

  `njPolygonCullingSize()
  `

njPolygonCullingMode

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999