Closed tmoinel closed 7 years ago
This looks good to me.
This is a fork of the bullet physics implementation. Could you submit it upstream first? https://github.com/bulletphysics/bullet3/blob/master/src/LinearMath/btVector3.cpp We'd prefer to track upstream implementation to not diverge our fork if there are changes that they do not accept.
There's also a version embedded in tf2 which should be patched as well: https://github.com/ros/geometry2/blob/indigo-devel/tf2/include/tf2/LinearMath/Vector3.h
I'll also note that it's recommended to use the upstream bullet version not this embedded version. I'm going to close this until it's accepted upstream.
Remove last minVal and maxVal affectation since it's not used after.
Also refactoring the first assignment to the first element.