Indexed Triangle Structure
TheQADrawTriMeshGouraudandQADrawTriMeshTexturefunctions draw triangle meshes defined by an array of indexed triangles. An indexed triangle is represented by a data structure of typeTQAIndexedTrianglethat defines three vertices and a set of triangle flags.
typedef struct TQAIndexedTriangle { unsigned long triangleFlags; unsigned long vertices[3]; } TQAIndexedTriangle;
Field Description
triangleFlags- A set of triangle flags. See "Triangle Flags Masks," beginning on page 1-63 for a complete description of the available flags.
vertices- An array of three indices into the array of vertices submitted by the most recent call to
QASubmitVerticesGouraudorQASubmitVerticesTexture.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help