Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

There are some error in rect_util.py #7

Open
esdream opened this issue Nov 17, 2017 · 0 comments
Open

There are some error in rect_util.py #7

esdream opened this issue Nov 17, 2017 · 0 comments

Comments

@esdream
Copy link

esdream commented Nov 17, 2017

In line 87 and 89 of rect_util.py, there should be

result.shift_xy(-p.x, -p.y)
...
result.shift_xy(p.x, p.y)

instead of result.shift.
By the way, the parameter theta of rotate_about function should be a radian rather than a degree.

@esdream esdream changed the title There are some error in rect_util.py There are some error in rect_util.py Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant