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 new angle and angle_rad property for vector2 #3221

Closed

Conversation

AntoineMamou
Copy link
Contributor

This PR follows this one : #3216 and make the suggested changes.

I added two new properties for Vector2.
angle_rad : Returns the vector’s angle in radians relative to the positive x-axis.
angle : Returns the angle in degrees, normalized to (180,180].

@AntoineMamou AntoineMamou requested a review from a team as a code owner November 12, 2024 17:29
@AntoineMamou
Copy link
Contributor Author

something was wrong, sorry

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.

2 participants