home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
educ
/
splines.lzh
/
SPLINES
/
BEZIER.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-16
|
483b
|
21 lines
/* The routines in this file are copyright (c) 1987 by Helene (Lee) Taran.
* Permission is granted for use and free distribution as long as the
* original author's name is included with the code.
*/
#ifndef BEZIER_H
#define BEZIER_H
#include <stdio.h>
#include <intuition/intuition.h>
#define CLOSENESS 8 /* how close two points should be before a line is drawn */
typedef struct real_point {
float x;
float y;
} REAL_POINT;
#define ABS(x) ((x < 0.0) ? -x : x )
#endif