summaryrefslogtreecommitdiffstats
path: root/trochoid_math.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-09-18 23:24:49 -0700
committeryum <yum.food.vr@gmail.com>2024-09-18 23:24:49 -0700
commitb904835dc91db76627ecb08636cd5c339a07a1df (patch)
treecf0bc3b06f318e802b7d855e78a9ddcdbec6d3a2 /trochoid_math.cginc
parent0b12f0aff502b04e48efd3141637fc0bb20a7f2d (diff)
Add shader inlining tooling
This should solve the issue of Unity failing to fully recompile my fucking shader.
Diffstat (limited to 'trochoid_math.cginc')
-rw-r--r--trochoid_math.cginc4
1 files changed, 2 insertions, 2 deletions
diff --git a/trochoid_math.cginc b/trochoid_math.cginc
index f116db0..334b14e 100644
--- a/trochoid_math.cginc
+++ b/trochoid_math.cginc
@@ -1,10 +1,10 @@
+#include "globals.cginc"
+
#ifndef __TROCHOID_MATH
#define __TROCHOID_MATH
#if defined(_TROCHOID)
-#include "globals.cginc"
-
#define PI 3.14159265
#define TAU PI * 2.0