Chris Pratico (chris_pratico++at++maca.sarnoff.com)
9 Nov 1993 16:15:54 U
I want to get the radius of the bounding sphere around an object, currently I
do the following:
pfBox bbox, *bboxes;
pfSphere bsphere;
pfGetNodeBBox(object, &bbox, NULL);
bboxes = &bbox;
pfSphereAroundBoxes(&bsphere, &bboxes, 1);
r1 = bsphere.radius;
Since the underlying geometery of the bounding box is actually a sphere, is
there a more direct way of doing this? Do I really need to get the bounding
box of the object and then extend a sphere around the bbox to get its radius?
Thanks
Chris Pratico
chris_pratico++at++maca.sarnoff.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:05 PDT