20 Managing Bounding Spheres

20 Q3BoundingSphere_Set

You can use the Q3BoundingSphere_Set function to set the defining origin and radius of a bounding sphere.

TQ3BoundingSphere *Q3BoundingSphere_Set (
TQ3BoundingSphere *bSphere, 
const TQ3Point3D *origin, 
float radius, 
TQ3Boolean isEmpty);
bSphere A pointer to a bounding sphere.
origin A pointer to a three-dimensional point.
radius A floating-point value that specifies the desired radius of the bounding sphere.
isEmpty A Boolean value that indicates whether the specified bounding sphere is empty (kQ3True) or not (kQ3False).

DESCRIPTION


The Q3BoundingSphere_Set function assigns the values origin and radius to the origin and radius fields of the bounding sphere specified by the bSphere parameter. Q3BoundingSphere_Set also assigns the value of the isEmpty parameter to the isEmpty field of the bounding sphere.

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