ftp.nice.ch/pub/next/science/mathematics/NeXTcontour.1.7.NIHS.bs.tar.gz#/NeXTcontour_1.7/Source/defs.h

This is defs.h in view mode; [Download] [Up]

/* collecting all the defines in one place */

#define ALLOCSIZE 2048		/* used in readData */

#ifndef MIN
#define MIN(x,y) ((x)<(y)? (x) : (y))
#endif

#ifndef MAX
#define MAX(x,y) ((x)>(y)? (x) : (y))
#endif

#ifndef ABS
#define ABS(x) ( (x)<0? (-(x)) : (x) )
#endif

#ifndef SGN
#define SGN(x) ( (x)<0? -1.0 : 1.0 )
#endif

#define XOFFSET 75.0		/* offsets (in pixels) of axis origin from */
#define YOFFSET 25.0		/* lower left hand corner of window        */
#define DEFAULTWIDTH 564
#define DEFAULTHEIGHT 427

#define SQRT3  1.73205081





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