From b904835dc91db76627ecb08636cd5c339a07a1df Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 18 Sep 2024 23:24:49 -0700 Subject: Add shader inlining tooling This should solve the issue of Unity failing to fully recompile my fucking shader. --- trochoid_math.cginc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trochoid_math.cginc') 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 -- cgit v1.2.3