Exemple #1
0
 internal static HandleRef getCPtr(b2ClipVertex obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #2
0
 public static int b2ClipSegmentToLine(b2ClipVertex vOut, b2ClipVertex vIn, b2Vec2 normal, float offset, int vertexIndexA)
 {
     int ret = Box2DPINVOKE.b2ClipSegmentToLine(b2ClipVertex.getCPtr(vOut), b2ClipVertex.getCPtr(vIn), b2Vec2.getCPtr(normal), offset, vertexIndexA);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }