summaryrefslogtreecommitdiffstats
path: root/custom30.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'custom30.cginc')
-rw-r--r--custom30.cginc3
1 files changed, 3 insertions, 0 deletions
diff --git a/custom30.cginc b/custom30.cginc
index 2bf8ec2..56392d6 100644
--- a/custom30.cginc
+++ b/custom30.cginc
@@ -277,6 +277,9 @@ float BasicPlatform_map(float3 p) {
#if defined(_CUSTOM30_BASICPLATFORM_Y_ALIGNED)
p.xy = p.yx;
#endif
+ #if defined(_CUSTOM30_BASICPLATFORM_VERTICAL)
+ p.xz = p.zx;
+ #endif
float3 platform_size = _Custom30_BasicPlatform_Size;
float box_d = distance_from_box_frame(p, platform_size, _Custom30_BasicPlatform_Frame_D);