20 Managing Bounding Spheres
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 spheress1
ands2
.
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.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker