#ifndef PI #define PI 3.14159265358979323846 #endif #ifndef M_2PI #define M_2PI (3.14159265358979323846 * 2.0) #endif