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

Add angle param clarification to sin(), cos(), and tan() #7475

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

thrly
Copy link
Contributor

@thrly thrly commented Jan 18, 2025

Resolves processing/p5.js-website#671

Changes:

  • Adds clarification to the documentation @param for sin(), cos(), and tan() in src/math/trigonometry.js : angle in radians unless specified by <a href="#/p5/angleMode">angleMode()</a>.

PR Checklist

Copy link

welcome bot commented Jan 18, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

src/math/trigonometry.js Outdated Show resolved Hide resolved
@limzykenneth limzykenneth merged commit 6ea957c into processing:main Jan 22, 2025
2 checks passed
@limzykenneth
Copy link
Member

Looks good. Thanks!

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.

Clarifying default parameter angle mode for trig functions like sin() and cos()
2 participants