Maths.h 274 B

1234567891011
  1. #ifndef _MATHS_HEADER_
  2. #define _MATHS_HEADER_
  3. typedef struct Coords { int x; int y; } Coords;
  4. typedef Coords* coords;
  5. coords CreateCoords();
  6. int randint( int min, int max );
  7. int distance( coords u, coords v );
  8. int Intersects(coords a, coords b, coords u, coords v);
  9. #endif