Ninja Library - Model and Motion Structure

NJS_MODEL

Structure that stores model data

DEFINITION

typedef struct { 
 NJS_POINT3 *points; 
 NJS_VECTOR *normals; 
 Sint32  nbPoint; 
 NJS_MESHSET *meshsets; 
 NJS_MATERIAL *mats; 
 Uint16  nbMeshset; 
 Uint16  nbMat; 
 NJS_POINT3 center; 
 Float  r; 
} NJS_MODEL; 

MEMBER

 *points  Vertex list 
 *normals  Normal line list 
 nbPoint  Number of vertices 
 *meshsets  Polygon list 
 *mats  Material list 
 nbMeshset  Number of mesh sets 
 nbMat  Number of materials 
 center  Model center position 
 r  Radius of circumscribed sphere from center of model 

DESCRIPTION

Structure that stores model data.

REFERENCE

njDrawModel()
njEasyDrawModel()
njFastDrawModel()
njSimpleDrawModel()

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