11 Constants

11 CSG Object IDs

QuickDraw3D provides constants that you can use to specify an ID for a CSG object. You assign a CSG object ID to an object by including an attribute of type kQ3AttributeType_ConstructiveSolidGeometryID in the object's attribute set. Currently, QuickDraw3D supports up to five CSG objects per model.

#define kQ3SolidGeometryObjA             0
#define kQ3SolidGeometryObjB             1
#define kQ3SolidGeometryObjC             2
#define kQ3SolidGeometryObjD             3
#define kQ3SolidGeometryObjE             4

Constant descriptions

kQ3SolidGeometryObjA
The CSG object A.
kQ3SolidGeometryObjB
The CSG object B.
kQ3SolidGeometryObjC
The CSG object C.
kQ3SolidGeometryObjD
The CSG object D.
kQ3SolidGeometryObjE
The CSG object E.
Constant descriptions

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker