This is bezsphere.c in view mode; [Download] [Up]
#include "geom.h"
#include "create.h"
#include "bezierP.h"
Geom *BezierBoundSphere(bezier, T, space)
Bezier *bezier;
Transform T;
int space;
{
if(bezier->flag & BEZ_REMESH ||
bezier->mesh == NULL || bezier->mesh->p == NULL) {
if(BezierReDice(bezier) == NULL)
return NULL; /* Oh no */
}
return MeshBoundSphere( bezier->mesh, T, space );
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.