From 04f0f7329cd6f0b42b9cc0d67538ac8c9765272a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Fri, 5 Apr 2024 01:31:27 +0500 Subject: [PATCH] . --- draw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.py b/draw.py index b9af465..7290441 100644 --- a/draw.py +++ b/draw.py @@ -23,7 +23,7 @@ def draw(level,gPlayer,fov,res): if cDot(rot,MobiusAdd(cInt,-gPlayer.cPos)) > 0: continue rDist = MobiusDist(cInt,gPlayer.cPos)*1.1 - if not (j.isFinite and cBetween(j.pointA,j.pointB,cInt)): + if j.isFinite and not cBetween(j.pointA,j.pointB,cInt): continue if (1 - m.height) > rDist: m = DrawnSegment(1-rDist,j.color)