Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 13 - View Objects / View Objects Reference
View Objects Routines


Bounding in a View

As you've seen (in the chapters "Geometric Objects" and "Group Objects"), QuickDraw 3D provides routines that you can use to compute the bounding box and bounding sphere of an object or a group of objects in a model. Computing an object's bounding box or bounding sphere requires applying to it all the transforms in the current view transform stack. QuickDraw 3D provides routines that you must call before and after computing an object's bounds.

QuickDraw 3D also provides a routine that you can use to determine whether a bounding box is visible in a view. You might use that routine to avoid specifying portions of a model that aren't visible.


Subtopics
Q3View_StartBoundingBox
Q3View_EndBoundingBox
Q3View_StartBoundingSphere
Q3View_EndBoundingSphere
Q3View_IsBoundingBoxVisible

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