-
Notifications
You must be signed in to change notification settings - Fork 289
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
Same options for centered in methods .rect and .box #567
Comments
These methods also use a 2 or 3d centered option, and could be given the same treatment:
|
I think it's a good idea. Making stuff more consistent is always welcome. |
I like this suggestion. I can't count how many times I adjust objects by |
Sounds good, do you mind waiting till after 2.1? |
No worries, that is fine. |
I think we can change the way we specify
centered
in both.rect
and.box
to be more consistent and more useful. Basically:.rect(1, 1, centered=True)
and.box(1, 1, 1, centered=(True, True, True)
.rect(10, 10, centered=(True, False)
produces a rectangle with corners on (-5, 0) and (5, 10).box(1, 1, 1, centered=True
is the same as.box(1, 1, 1, centered=(True, True, True)
Thoughts?
The text was updated successfully, but these errors were encountered: