Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 15 - Pick Objects / Pick Objects Reference
Constants


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.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help