summaryrefslogtreecommitdiffstats
path: root/filament_math.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'filament_math.cginc')
-rw-r--r--filament_math.cginc4
1 files changed, 2 insertions, 2 deletions
diff --git a/filament_math.cginc b/filament_math.cginc
index 5d088ee..e9dcb70 100644
--- a/filament_math.cginc
+++ b/filament_math.cginc
@@ -1,8 +1,8 @@
+#include "math.cginc"
+
#ifndef __FILAMENT_MATH_INC
#define __FILAMENT_MATH_INC
-#define PI 3.1415926535897932384626433832795028841971
-
// THIS SOURCE CODE HAS BEEN MODIFIED!
// The only modifications are for compatibility with HLSL, for example:
// * Replacing normalizeMediump() with normalize()