Test case:
test_case.py:
import sfml as sf
r1 = sf.Rectangle((0,0), (5,5))
r2 = sf.Rectangle((4,4), (5,5))
r1.intersects(r2)
python test_case.py
Traceback (most recent call last):
File "test.py", line 7, in <module>
r1.intersects(r2)
File "graphics.pyx", line 188, in sfml.graphics.Rectangle.intersects
(src/sfml/graphics.cpp:4717)
File "graphics.pyx", line 97, in sfml.graphics.Rectangle.__init__
(src/sfml/graphics.cpp:2489)
TypeError: __init__() takes at most 2 positional arguments (4 given)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1400906
Title:
rectangle intersects error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-sfml/+bug/1400906/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs