summaryrefslogtreecommitdiffstats
path: root/trochoid_math.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'trochoid_math.cginc')
-rw-r--r--trochoid_math.cginc4
1 files changed, 1 insertions, 3 deletions
diff --git a/trochoid_math.cginc b/trochoid_math.cginc
index 334b14e..7a4e7e2 100644
--- a/trochoid_math.cginc
+++ b/trochoid_math.cginc
@@ -1,13 +1,11 @@
#include "globals.cginc"
+#include "math.cginc"
#ifndef __TROCHOID_MATH
#define __TROCHOID_MATH
#if defined(_TROCHOID)
-#define PI 3.14159265
-#define TAU PI * 2.0
-
float3 trochoid_map(float theta, float r0, float3 vert_z)
{
r0 *= r0;