shapeFreeWrap function

void shapeFreeWrap(
  1. Pointer<cpSpace> space,
  2. Pointer<Void> shape,
  3. Pointer<Void> unused,
  4. int callbackId,
)

Implementation

void shapeFreeWrap(Pointer<cpSpace> space, Pointer<Void> shape, Pointer<Void> unused, int callbackId) {
  bindings.cpSpaceRemoveShape(space, shape as Pointer<cpShape>);
  bindings.cpShapeFree(shape as Pointer<cpShape>);
}