//*********************************************************** // // Name: MathUtil.H // Description: This file contains some maths related // utility macros and fucntions. // //*********************************************************** #ifndef MATHUTIL_H #define MATHUTIL_H #define PI 3.14159265358979323846f #define DEGTORAD(a) ((a) * (PI/180.0f)) #define RADTODEG(a) ((a) * (180.0f/PI)) #define SQR(x) ((x) * (x)) #endif