diff options
Diffstat (limited to 'app/bin/utility.h')
-rw-r--r-- | app/bin/utility.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/bin/utility.h b/app/bin/utility.h index ccf85e4..8666e6b 100644 --- a/app/bin/utility.h +++ b/app/bin/utility.h @@ -1,5 +1,5 @@ -/* - * $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/bin/utility.h,v 1.1 2005-12-07 15:47:39 rc-flyer Exp $ +/** \file utility.h + * Prototypes for misc utility functions */ /* XTrkCad - Model Railroad CAD @@ -23,6 +23,8 @@ #ifndef UTILITY_H #define UTILITY_H +#include "common.h" + #ifndef TRUE #define TRUE 1 #define FALSE 0 @@ -43,6 +45,8 @@ double min( double a, double b ); #endif double FindDistance( coOrd p0, coOrd p1 ); double NormalizeAngle( double a ); +double DifferenceBetweenAngles(double a, double b); +int AngleInRange(double a, double start, double size); int IsAligned( double a1, double a2 ); double D2R( double D ); double R2D( double R ); |