Added include guard to math_for_graphics.h

This commit is contained in:
Lorenzo Marcantonio 2013-04-30 15:27:08 +02:00
parent 218fb338ab
commit f50f31e5a3
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#ifndef MATH_FOR_GRAPHICS_H
#define MATH_FOR_GRAPHICS_H
// math stuff for graphics, from FreePCB
/* Function FindLineSegmentIntersection
@ -61,3 +63,5 @@ double GetPointToLineSegmentDistance( int x, int y, int xi, int yi, int xf, int
double GetPointToLineDistance( double a, double b, int x, int y, double * xp=NULL, double * yp=NULL );
double Distance( double x1, double y1, double x2, double y2 );
#endif