summaryrefslogtreecommitdiffstats
path: root/iq_sdf.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-09-06 16:32:09 -0700
committeryum <yum.food.vr@gmail.com>2024-09-06 16:32:09 -0700
commit2cf50223c6a88a6cbea64e3128c7b847dba1f8f2 (patch)
tree1b68526e2cb3dabb072acd672cdb68c37c8f3f1d /iq_sdf.cginc
parent76dd9a50c0a1114e509a7834129cf8354d46b420 (diff)
Add rorschach gimmick
Wound up looking more like voronoi but oh well lol. Fix iq sdf include - now it can be included multiple times.
Diffstat (limited to 'iq_sdf.cginc')
-rw-r--r--iq_sdf.cginc5
1 files changed, 5 insertions, 0 deletions
diff --git a/iq_sdf.cginc b/iq_sdf.cginc
index 472256c..4d1072e 100644
--- a/iq_sdf.cginc
+++ b/iq_sdf.cginc
@@ -1,3 +1,6 @@
+#ifndef __IQ_SDF_INC
+#define __IQ_SDF_INC
+
#include "pema99.cginc"
// The MIT License
@@ -100,3 +103,5 @@ float3 op_rep(in float3 p, in float3 c)
}
// End licensed section
+
+#endif // __IQ_SDF_INC