Ninja Library - Model Function

njInit3D

Initializes 3D system

FORMAT

void njInit3D( vbuf, vn )
NJS_VERTEX_BUF *vbuf
Int vn

PARAMETER

 *vbuf  Pointer to vertex calculation working buffer 
 vn  Size of apex calculation working buffer 

RETURN

None

DESCRIPTION

Initializes the working buffer used for model drawing. The apex computation working buffer is used for temporary storage of the model data apex computation results. If multiple models are drawn, the buffer size used can only be as large as the largest of the models.

EXAMPLE

#define VERTEX_MAX 1024
NJS_VERTEX_BUF vbuf[VERTEX_MAX];
njInit3D( vbuf, VERTEX_MAX );

REFERENCE

njControl3D()

njInit3D
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999