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 operator + for AxisAlignedBox and Vector3 #122

Merged
merged 2 commits into from
May 30, 2020
Merged

Add operator + for AxisAlignedBox and Vector3 #122

merged 2 commits into from
May 30, 2020

Conversation

chapulina
Copy link
Contributor

Resolves #121 .

This implements the operator + similar to the existing operator -.

Now you can do:

box2 = box1 + vec

@chapulina chapulina requested a review from scpeters as a code owner May 30, 2020 18:33
Signed-off-by: Steve Peters <[email protected]>
@scpeters scpeters merged commit d1b5e86 into gazebosim:ign-math6 May 30, 2020
@chapulina chapulina deleted the box_op_plus branch May 30, 2020 19:35
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