forked from bedohswe/p3he
Fix a very stupid bug.
This commit is contained in:
parent
0c9c6ba310
commit
fc721addfc
2
main.py
2
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))
|
||||
|
Loading…
Reference in New Issue
Block a user