forked from bedohswe/p3he
Compare commits
No commits in common. "359edf47424e99458ce739a59feac15244f2cdd8" and "4604f8224cf650f847939eb42fcf84d97bdd716c" have entirely different histories.
359edf4742
...
4604f8224c
3
main.py
3
main.py
@ -150,11 +150,10 @@ def mainLoop():
|
||||
display.blit(fps_surf, (0, 0))
|
||||
display.blit(cPos_surf, (0, fps_surf.get_height()))
|
||||
display.blit(cRot_surf, (0, fps_surf.get_height() + fontSize))
|
||||
pygame.draw.rect(display, BLACK, (0, 100, 200, 200))
|
||||
for i in level:
|
||||
a = complex(Poincare2Klein(i.pointA))
|
||||
b = complex(Poincare2Klein(i.pointB))
|
||||
pygame.draw.line(display, i.color, (a.real * 100 + 100, (a.imag * 100 + 200)), (b.real * 100 + 100, (b.imag * 100 + 200)))
|
||||
pygame.draw.line(display, WHITE, (a.real * 100 + 100, (a.imag * 100 + 200)), (b.real * 100 + 100, (b.imag * 100 + 200)))
|
||||
c = complex(Poincare2Klein(gPlayer.cPos))
|
||||
pygame.draw.rect(display, WHITE, (c.real * 100 + 95, (c.imag * 100 + 195), 10, 10))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user