Skip to content

Updated documentation to specify angle unit#4

Open
mariapana wants to merge 2 commits into
UPB-CS-OpenSourceUpstream:devfrom
mariapana:angle_docs
Open

Updated documentation to specify angle unit#4
mariapana wants to merge 2 commits into
UPB-CS-OpenSourceUpstream:devfrom
mariapana:angle_docs

Conversation

@mariapana
Copy link
Copy Markdown

@mariapana mariapana commented Jan 21, 2024

The PR aims to clarify which angle unit functions use, since there are some that use radians and others that use degrees. Based on the current documentation alone, a new user may not be certain what the correct input/output should look like. After researching the topic and looking into the function definitions, I added notes on what angle unit was used for each related function.

The modified files are:

src/geometry/rotation_specialization.rs
src/base/matrix.rs

Based on: dimforge#1234

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.

1 participant