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

[Issue #71] Update vector2 fuctions from vector3 #130

Merged
merged 3 commits into from
Jul 7, 2020

Conversation

pxalcantara
Copy link
Contributor

Add some functions to Vector2.hh to make the API more consistent considering the Vector3 behavior, functions added:

  • Sum();
  • Normalized();

These functions intend to start to solve issue #71

Signed-off-by: pxalcantara <[email protected]>
Signed-off-by: pxalcantara <[email protected]>
Signed-off-by: pxalcantara <[email protected]>
@chapulina chapulina added the enhancement New feature or request label Jul 7, 2020
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, LGTM! Just note that this is targetting master, so it won't be automatically into Blueprint or Citadel, but we can backport it later.

In the future, you can open PRs like this one against ign-math6. It's ok because adding new functions is backwards-compatible. If you were changing or removing a function, that would need to target master.

@chapulina chapulina merged commit 0c34c7e into gazebosim:master Jul 7, 2020
@pxalcantara pxalcantara deleted the update-vector2-from-vector3 branch July 7, 2020 18:50
@pxalcantara
Copy link
Contributor Author

pxalcantara commented Jul 7, 2020

@chapulina I didn't get, the next PR should I go against master or ign-math6? If you want I can do it to the ign-math6 as well, no problem!

@chapulina
Copy link
Contributor

Oh sorry, you can target your PRs to ign-math6. Thanks!

chapulina pushed a commit that referenced this pull request Jul 7, 2020
@chapulina chapulina mentioned this pull request Jul 7, 2020
scpeters pushed a commit that referenced this pull request Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants