20 Managing Bounding Spheres

20 Q3BoundingSphere_Union

You can use the Q3BoundingSphere_Union function to find the union of two bounding spheres.

TQ3BoundingSphere *Q3BoundingSphere_Union (
const TQ3BoundingSphere *s1, 
const TQ3BoundingSphere *s2, 
TQ3BoundingSphere *result);
s1 A pointer to a bounding sphere.
s2 A pointer to a bounding sphere.
result On exit, a pointer to the union of the bounding spheres s1 and s2.

DESCRIPTION


The Q3BoundingSphere_Union function returns, as its function result and in the result parameter, a pointer to the bounding sphere that is the union of the two bounding spheres specified by the parameters s1 and s2. The result parameter can point to the memory occupied by either s1 or s2, thereby performing the union operation in place.

DESCRIPTION

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