summaryrefslogtreecommitdiffstats
path: root/filament_math.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-10-23 00:32:44 -0700
committeryum <yum.food.vr@gmail.com>2024-10-23 00:32:44 -0700
commit4eb21bddb139677268c9abd28e06e5f4dbe69f6e (patch)
tree07542b000c18562d28ac25d77538d89f4c81a44e /filament_math.cginc
parentdd46f7e166eabee42564b6dfe4c0a4e1d54b5e7d (diff)
Add gerstner water gimmick
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()