Skip to content
Snippets Groups Projects
Commit a3791610 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add M_2_PI

parent 6acc5dba
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@
typedef float float_t;
typedef double double_t;
// Included to fix mesa issues
#ifndef M_PI
#define M_PI 3.14159265358979323846 /* pi */
#endif
......@@ -16,3 +15,7 @@ typedef double double_t;
#ifndef M_PI_4
#define M_PI_4 0.78539816339744830962 /* pi/4 */
#endif
#ifndef M_2_PI
#define M_2_PI 0.63661977236758134308 /* 2/pi */
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment