njDrawModel | Japanese
    <-|INDEX|->
Draws a model.

### FORMAT

      #include  <Ninja.h>
      void       njDrawModel( model )
      NJS_MODEL  *model

### PARAMETERS

model
  pointer to model structure

### RETURN VALUE

  None

### ERROR VALUE

  None

### FUNCTION

- Draws the model data after converting coordinates for the current matrix.
- The drawing method can be controlled with njControl3D().

### EXAMPLE

      njInitSystem( NJD_RESOLUTION_VGA, NJD_FRAMEBUFFER_MODE_RGB565, 1 );
      njInitMatrix( matrix, 128 );
      njInit3D( vbuf, 4096 );
      njInitView( &view );
      njCreateLight( &light, NJD_DIR_LIGHT );
      njSetView( &view );

      while(1) {
        njClearMatrix();
        njTranslate( NULL, 0.f, 0.f, -10.f );
        njRotateXYZ( NULL, xx,yy,zz );
        njDrawModel( model );
        xx += 257;
        yy += 179;
        zz += 193;
        njWaitVSync();
      }

### NOTES

### RELATED TOPICS

  njInit3D()
  njDrawObject()
  njControl3D()
  njSetConstantAttr()
  njSetConstantMaterial()
  njSetTextureMode()
  njDrawAlphaBuf()
  njSetDepthQueue()

njDrawModel |
    <-|INDEX|->