ftp.nice.ch/pub/next/graphics/3d/NXplot3d.3.2.NIHS.bs.tar.gz#/NXplot3d.3.2/Source/function.c

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

#include <math.h>

int NFN=2;

float function(int set,float x,float y)
{
float r;
r=sqrt(x*x+y*y);
if (set==0) return(cos(r));
if (set==1) return(cos(r+.75));
return(0.0);

}

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