#ifndef MATHS_H #define MATHS_H #include #include #include // Type definition typedef unsigned char uchar; typedef uchar byte; typedef short int16; typedef unsigned short uint16; typedef unsigned int uint; // Define M_PI #ifndef M_PI #define M_PI 3.14159265358979323846 // pi #endif // !M_PI #pragma warning( disable : 4244 ) struct Point2 { int x; int y; }; #endif // !MATHS_H