예제 #1
0
 public void GetShapes(out Shape shapeA, out Shape shapeB)
 {
     IntPtr a, b;
     __cpArbiterGetShapes (Handle.Handle, out a, out b);
     shapeA = new Shape (a);
     shapeB = new Shape (b);
 }
예제 #2
0
 public void ActivateStatic(Shape filter)
 {
     cpBodyActivateStatic (Handle.Handle, filter.Handle.Handle);
 }
예제 #3
0
 public void GetShapes(out Shape shapeA, out Shape shapeB)
 {
     IntPtr a, b;
     __cpArbiterGetShapes (Handle.Handle, out a, out b);
     shapeA = Shape.FromIntPtr (a);
     shapeB = Shape.FromIntPtr (b);
 }