Skip to content

Add operator + for AxisAlignedBox and Vector3#122

Merged
scpeters merged 2 commits intogazebosim:ign-math6from
chapulina:box_op_plus
May 30, 2020
Merged

Add operator + for AxisAlignedBox and Vector3#122
scpeters merged 2 commits intogazebosim:ign-math6from
chapulina:box_op_plus

Conversation

@chapulina
Copy link
Copy Markdown
Contributor

Resolves #121 .

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

Now you can do:

box2 = box1 + vec

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina requested a review from scpeters as a code owner May 30, 2020 18:33
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@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.

3 participants