QADrawTriMeshGouraud
You can use theQADrawTriMeshGouraudfunction to draw a triangle mesh with Gouraud shading.
#define QADrawTriMeshGouraud(drawContext,nTriangle,triangles) \ (drawContext)->drawTriMeshGouraud (drawContext,nTriangle,triangles)
drawContext- A draw context.
nTriangle- The number of indexed triangles pointed to by the
trianglesparameter.triangles- A pointer to an array of indexed triangles. See "Indexed Triangle Structure" (page 1-80) for a description of indexed triangles.
DESCRIPTION
TheQADrawTriMeshGouraudfunction draws, with Gouraud shading, the triangle mesh specified by thetrianglesparameter into the draw context specified by thedrawContextparameter. Each triangle in the mesh is defined by aTQAIndexedTriangledata structure, which contains three indices into the array of Gouraud vertices previously submitted to the draw context by a call to theQASubmitVerticesGouraudfunction.SPECIAL CONSIDERATIONS
QADrawTriMeshGouraudoperates only on a triangle mesh previously submitted using theQASubmitVerticesGouraudfunction. UseQADrawTriMeshTextureto draw a triangle mesh submitted using theQASubmitVerticesTexturefunction.