9 Data Structures

9 Orthographic Camera Data Structure

You use an orthographic camera data structure to get or set information about an orthographic camera. An orthographic camera data structure is defined by the TQ3OrthographicCameraData data type.

typedef struct TQ3OrthographicCameraData {
 TQ3CameraData         cameraData;
 float         left;
 float         top;
 float         right;
 float         bottom;
} TQ3OrthographicCameraData;
cameraData A camera data structure specifying basic information about the orthographic camera.
left The left side of the orthographic camera. The value of this field (and the following three fields) is relative to the camera coordinate system.
top The top side of the orthographic camera.
right The right side of the orthographic camera.
bottom The bottom side of the orthographic camera.

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