5d46c39529
In case a query outside is performed, add SDF gradient computation using finite differences. For SDFs generated from meshes, when the query point lies outside of the bounding box, the gradient provided by SdfLib ignores the SDF and is equivalent to the gradient of the distance from the bounding box, causing local minima in the contact point optimization. This CL increased the size of the bounding boxes and replaces the SdfLib gradient with a finite difference approximation of the gradient if a point lies outside it. PiperOrigin-RevId: 597839637 Change-Id: I79dfddbe25288eca7eb235db51781fc2bb2c3c5f