Пример #1
0
 public void GetChildEdge(b2EdgeShape edge, int index)
 {
     Box2DPINVOKE.b2ChainShape_GetChildEdge(swigCPtr, b2EdgeShape.getCPtr(edge), index);
 }
Пример #2
0
 internal static HandleRef getCPtr(b2EdgeShape obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #3
0
 public static void b2CollideEdgeAndPolygon(b2Manifold manifold, b2EdgeShape edgeA, b2Transform xfA, b2PolygonShape circleB, b2Transform xfB)
 {
     Box2DPINVOKE.b2CollideEdgeAndPolygon(b2Manifold.getCPtr(manifold), b2EdgeShape.getCPtr(edgeA), b2Transform.getCPtr(xfA), b2PolygonShape.getCPtr(circleB), b2Transform.getCPtr(xfB));
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
 }