예제 #1
0
/*
 * @param [Chipmunk2d::Space] space
 * @return [nil]
 */
static mrb_value
arbiter_call_wildcard_separate_a(mrb_state* mrb, mrb_value self)
{
  cpArbiter* arbiter;
  cpSpace* space;
  mrb_get_args(mrb, "d", &space, &mrb_cp_space_type);
  arbiter = mrb_cp_get_arbiter_ptr(mrb, self);
  cpArbiterCallWildcardSeparateA(arbiter, space);
  return mrb_nil_value();
}
예제 #2
0
static void
DefaultSeparate(cpArbiter *arb, cpSpace *space, void *data){
	cpArbiterCallWildcardSeparateA(arb, space);
	cpArbiterCallWildcardSeparateB(arb, space);
}