Hello, i've got a bug in Pygame code and the error message tells me to
report it here :)

Code:

import pygame

vector = pygame.math.Vector2(0, 1)
angle = 0

try:
while True:
vector.rotate(angle)
angle += 1.2

except Exception as e:
print "%.20f" % angle
print e

Output:

Please report this bug in vector2_rotate_helper to the developers at
pygame-users@seul.org

System:

win7 64, python32 2.7.8, pygame-1.9.2a0.win32-py2.7.msi

Next call produces the same error:

pygame.math.Vector2(0, 1).rotate(359.99999999999801048034)

-- 

<author>Pavel Shvets</author>
</mail>

Reply via email to