forked from gazebosim/gz-math
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Round(), Rounded() functions for Vector2.hh
- Round(): Rounds to nearest whole number inplace - Rounded(): Returns a rounded version of the vector Created unit tests for both functions. colcon build --merge-install [PASSED] colcon test --merge-install [PASSED] Intend to solve issue ignitionrobotics#71 Signed-off-by: akshatpandya <[email protected]>
- Loading branch information
1 parent
dbcd671
commit ed89d37
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters