ftp.nice.ch/pub/next/graphics/3d/geomview.1.4.1.s.tar.gz#/Geomview/src/lib/gprim/quad/quadsphere.c

This is quadsphere.c in view mode; [Download] [Up]

#include "geom.h"
#include "create.h"
#include "quadP.h"

Geom *QuadSphere(quad, T, space)
     Quad *quad;
     Transform T;
     int space;
{
  Geom *sphere;
  sphere = GeomCreate("sphere", CR_ENCOMPASS_POINTS, quad->p,
		      CR_NENCOMPASS_POINTS, quad->maxquad * 4,
		      CR_AXIS, T, CR_SPACE, space, CR_END);
  return sphere;
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.