4 Creating and Editing Triangles

4 Q3Triangle_New

You can use the Q3Triangle_New function to create a new triangle.

TQ3GeometryObject Q3Triangle_New (
const TQ3TriangleData *triangleData);
triangleData A pointer to a TQ3TriangleData structure.

DESCRIPTION


The Q3Triangle_New function returns, as its function result, a new triangle having the vertices and attributes specified by the triangleData parameter. If a new triangle could not be created, Q3Triangle_New returns the value NULL.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker