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

Renamed Vector2.tangent to perpendicular #39685

Closed
wants to merge 1 commit into from

Conversation

Chaosus
Copy link
Member

@Chaosus Chaosus commented Jun 19, 2020

One of the proposed renames from #16863 (comment)

@aaronfranke
Copy link
Member

The documentation is still "Returns a perpendicular vector", and it seems a bit strange for the only description to be the same as the name of the method. We may as well take this opportunity to update the documentation to be more descriptive. Specifically, it should note that the resulting vector is rotated 90 degrees counter-clockwise compared to the original, with the same length.

Copy link
Member

@aaronfranke aaronfranke left a comment

Choose a reason for hiding this comment

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

I just rebased and tested this, looks good to me.

@reduz
Copy link
Member

reduz commented Nov 27, 2020

Well, in the context of where it is used, it should not be ambiguous, so I am not sure about this rename.

@akien-mga
Copy link
Member

Superseded by #44149.

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

Successfully merging this pull request may close these issues.

4 participants