BulletCSharp.btSparseSdf3.DistanceToShape C# (CSharp) Method

DistanceToShape() public static method

public static DistanceToShape ( SWIGTYPE_p_btVector3 x, SWIGTYPE_p_btCollisionShape shape ) : float
x SWIGTYPE_p_btVector3
shape SWIGTYPE_p_btCollisionShape
return float
        public static float DistanceToShape(SWIGTYPE_p_btVector3 x, SWIGTYPE_p_btCollisionShape shape)
        {
            float ret = BulletSoftBodyPINVOKE.btSparseSdf3_DistanceToShape(SWIGTYPE_p_btVector3.getCPtr(x), SWIGTYPE_p_btCollisionShape.getCPtr(shape));
            if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }