diff options
| author | yum <yum.food.vr@gmail.com> | 2024-10-23 00:32:44 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-10-23 00:32:44 -0700 |
| commit | 4eb21bddb139677268c9abd28e06e5f4dbe69f6e (patch) | |
| tree | 07542b000c18562d28ac25d77538d89f4c81a44e /math.cginc | |
| parent | dd46f7e166eabee42564b6dfe4c0a4e1d54b5e7d (diff) | |
Add gerstner water gimmick
Diffstat (limited to 'math.cginc')
| -rw-r--r-- | math.cginc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ #ifndef __MATH_INC #define __MATH_INC +#define PI 3.14159265 +#define TAU PI * 2.0 + // Hacky parameterizable whiteout blending. Probably some big mistakes but it // passes the eyeball test. // At w=0.5, this looks kinda like whiteout blending. |
