Leonetienne/Eule
Homemade math library, mainly targetted towards computer graphics
Constants.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Pretty sure the compiler will optimize these calculations out...
4 
6 #define PI 3.14159265358979323846264338327950288419716939937510
7 
9 #define HALF_PI 1.57079632679489661923132169163975144209858469968755
10 
12 #define Deg2Rad 0.0174532925199432957692369076848861271344287188854172222222222222
13 
15 #define Rad2Deg 57.295779513082320876798154814105170332405472466564427711013084788