Tweak airlock door to stop z fighting

This commit is contained in:
jgk
2021-04-22 14:42:49 +02:00
parent 1ab793180c
commit 6c65515381
4 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ mkTriggerDoor c cond pl pr xs = addSound $ zipWith3 (triggerDoorPane c cond)
, [prd,prrd,pr,pr]
, [prrd,prru]
]
where norm = 15 *.* errorNormalizeV 49 ( vNormal (pr -.- pl))
where norm = 14 *.* errorNormalizeV 49 ( vNormal (pr -.- pl))
hw = 0.5 *.* (pl +.+ pr)
perp = 20 *.* normalizeV (pl -.- pr)
--perp = pl -.- hw