コード例 #1
0
ファイル: b2Fixture.cs プロジェクト: vanoseva/Box2DCS
 public bool RayCast(b2RayCastOutput output, b2RayCastInput input, int childIndex)
 {
     bool ret = Box2DPINVOKE.b2Fixture_RayCast(swigCPtr, b2RayCastOutput.getCPtr(output), b2RayCastInput.getCPtr(input), childIndex);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #2
0
ファイル: b2CircleShape.cs プロジェクト: vanoseva/Box2DCS
 public override bool RayCast(b2RayCastOutput output, b2RayCastInput input, b2Transform transform, int childIndex)
 {
     bool ret = Box2DPINVOKE.b2CircleShape_RayCast(swigCPtr, b2RayCastOutput.getCPtr(output), b2RayCastInput.getCPtr(input), b2Transform.getCPtr(transform), childIndex);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #3
0
ファイル: b2RayCastOutput.cs プロジェクト: vanoseva/Box2DCS
 internal static HandleRef getCPtr(b2RayCastOutput obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }