Commit cf524805 authored by Thomas White's avatar Thomas White
Browse files

Define M_PI only if it's not already defined

parent b024c40b
......@@ -11,7 +11,9 @@
#include <defs.h>
#ifndef M_PI
#define M_PI ((float)(3.14159265))
#endif
float4 quat_rot(float4 q, float4 z)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment