15 Constants

15 Hit List Sorting Values

You specify a hit list sorting value to determine the kind of sorting that is to be done on the hit list.

typedef enum TQ3PickSort {
 kQ3PickSortNone,
 kQ3PickSortNearToFar,
 kQ3PickSortFarToNear
} TQ3PickSort;

Constant descriptions

kQ3PickSortNone No sorting is to be done on the hit list. There is no meaning to the order of hits in the list.
kQ3PickSortNearToFar
The hit list is sorted according to increasing distance from the origin of the pick point. Objects nearer to the origin are returned before objects farther away.
kQ3PickSortFarToNear
The hit list is sorted according to decreasing distance from the origin of the pick point. Objects farther away from the origin are returned before objects nearer to it.
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