internal static HandleRef getCPtr(btSubSimplexClosestResult obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool closestPtPointTriangle(SWIGTYPE_p_btVector3 p, SWIGTYPE_p_btVector3 a, SWIGTYPE_p_btVector3 b, SWIGTYPE_p_btVector3 c, btSubSimplexClosestResult result) { bool ret = BulletCollisionPINVOKE.btVoronoiSimplexSolver_closestPtPointTriangle(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(p), SWIGTYPE_p_btVector3.getCPtr(a), SWIGTYPE_p_btVector3.getCPtr(b), SWIGTYPE_p_btVector3.getCPtr(c), btSubSimplexClosestResult.getCPtr(result)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); return ret; }