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 Vector2i/3i/4i methods: distance_to and distance_squared_to #1347

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Add Vector2i/3i/4i methods: distance_to and distance_squared_to #1347

merged 1 commit into from
Jan 4, 2024

Conversation

Chubercik
Copy link
Contributor

This pull request adds distance_to and distance_squared_to methods for Vector2i, Vector3i and Vector4i, so that godot-cpp may remain in parity with GDScript.

@Chubercik Chubercik requested a review from a team as a code owner January 3, 2024 02:01
@dsnopek dsnopek added waiting for Godot This issue needs a Godot Engine improvement to be solved enhancement This is an enhancement on the current functionality labels Jan 3, 2024
@dsnopek dsnopek added this to the 4.x milestone Jan 3, 2024
@AThousandShips AThousandShips removed the waiting for Godot This issue needs a Godot Engine improvement to be solved label Jan 3, 2024
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

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

Code looks good, and parity is great! Thank you 🎉

Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good to me too :-)

@dsnopek dsnopek merged commit dd62b96 into godotengine:master Jan 4, 2024
12 checks passed
@dsnopek
Copy link
Collaborator

dsnopek commented Jan 4, 2024

Thanks! And congrats for your first merged Godot contribution 🎉

@Chubercik Chubercik deleted the vector_method_parity branch January 4, 2024 15:06
@akien-mga akien-mga modified the milestones: 4.x, 4.3 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants