9 Data Structures

9 Camera Range Structure

You use a camera range structure to get or set the hither and yon clipping planes for a camera. A camera range structure is defined by the TQ3CameraRange data type.

typedef struct TQ3CameraRange {
 float         hither;
 float         yon;
} TQ3CameraRange;
hither The distance (measured along the camera vector) from the camera's location to the near clipping plane. The value in this field should always be greater than 0.
yon The distance (measured along the camera vector) from the camera's location to the far clipping plane. The value in this field should always be greater than the value in the hither field.

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