From fc721addfc2d76c94e1b7258376a901020fef2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Wed, 3 Apr 2024 16:25:02 +0500 Subject: [PATCH] Fix a very stupid bug. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c771e9b..0f630a3 100755 --- a/main.py +++ b/main.py @@ -41,7 +41,7 @@ def draw(level,gPlayer,fov,res): irot = exp(fov/res*I) for i in range(res): m = DrawnSegment(0,BLACK) - rot = irot * gPlayer.cRot**(i-(res/2)) + rot = irot**(i-(res/2)) * gPlayer.cRot for j in level: tA = Poincare2Klein(MobiusAdd(j.pointA,-gPlayer.cPos)) tB = Poincare2Klein(MobiusAdd(j.pointB,-gPlayer.cPos))