You can use theQADrawTriGouraud
QADrawTriGouraudfunction to draw Gouraud-shaded triangles.
#define QADrawTriGouraud(drawContext,v0,v1,v2,flags) \ (drawContext)->drawTriGouraud (drawContext,v0,v1,v2,flags)
drawContext- A draw context.
v0- A Gouraud vertex.
v1- A Gouraud vertex.
v2- A Gouraud vertex.
flags- A set of triangle flags. See "Triangle Flags Masks," beginning on page 1-63 for a complete description of the available flags.
DESCRIPTION
TheQADrawTriGouraudfunction draws the Gouraud-shaded triangle determined by the three points specified by thev0,v1, andv2parameters into the draw context specified by thedrawContextparameter. Features of the triangle are determined by theflagsparameter. Currently, this parameter is used to specify an orientation for the triangle.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help