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 >
C/C++ Source or Header  |  1991-08-16  |  483b  |  21 lines

  1. /* The routines in this file are copyright (c) 1987 by Helene (Lee) Taran.
  2.  * Permission is granted for use and free distribution as long as the
  3.  * original author's name is included with the code.
  4.  */
  5.  
  6. #ifndef BEZIER_H
  7. #define BEZIER_H
  8.  
  9. #include <stdio.h>
  10. #include <intuition/intuition.h>
  11.  
  12. #define CLOSENESS 8 /* how close two points should be before a line is drawn */
  13.  
  14. typedef struct real_point {
  15.    float x;
  16.    float y;
  17. } REAL_POINT;
  18.  
  19. #define ABS(x) ((x < 0.0) ? -x : x )
  20. #endif
  21.