Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectangle corner in rect_in_circle function #66

Open
Piolie opened this issue Jun 28, 2020 · 0 comments
Open

Rectangle corner in rect_in_circle function #66

Piolie opened this issue Jun 28, 2020 · 0 comments

Comments

@Piolie
Copy link

Piolie commented Jun 28, 2020

In chapter 15, it says the corner attribute of the Rectangle class "specifies the lower-left corner". However, it seems to me that function rect_in_circle treats it as the upper-left corner. Shouldn't line 54 in Circle.py be: p.y += rect.height instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant