Skip to content

Conversation

@JulioGitLab
Copy link
Contributor

Changes:

This clarifies that each point on the edge of the circle is half its diameter.

PR Checklist

This clarifies that each point on the edge of the circle is half its diameter
@Qianqianye Qianqianye requested a review from nickmcintyre July 2, 2024 20:45
* its position.
* A circle is a round shape defined by the `x`, `y`, and `d` parameters.
* `x` and `y` set the location of its center. `d` sets its width and height (diameter).
* Every point on the circle's edge is half the distance, `d`, from its center (radius = diameter/2).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @JulioGitLab! What do you think about the following?

Every point on the circle's edge is the same distance, 0.5 * d, from its center. 0.5 * d (half the diameter) is the circle's radius.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nickmcintyre! I think your way of explaining it is easier to understand. Let's use it!

The description of circle() was updated to one that is easier to understand
Copy link
Member

@nickmcintyre nickmcintyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Qianqianye Qianqianye merged commit 51e9760 into processing:main Jul 3, 2024
@Qianqianye
Copy link
Contributor

Thank you both! @JulioGitLab @nickmcintyre

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

Successfully merging this pull request may close these issues.

3 participants