// Transformation function for contactSet. static void * contactSetTrans(void *ptr, void *data) { cpShape **shapes = (cpShape **)ptr; cpShape *a = shapes[0]; cpShape *b = shapes[1]; cpSpace *space = (cpSpace *)data; return cpArbiterNew(a, b, space->stamp); }
// Transformation function for contactSet. static void * contactSetTrans(cpShape **shapes, void *unused) { return cpArbiterNew(shapes[0], shapes[1]); }