// RemoveCollisionHandler unsets a collision handler. func (s *Space) RemoveCollisionHandler(a CollisionType, b CollisionType) { C.cpSpaceRemoveCollisionHandler(s.c(), C.cpCollisionType(a), C.cpCollisionType(b)) }
// RemoveCollisionHandler unsets a collision handler. func (s Space) RemoveCollisionHandler(a CollisionType, b CollisionType) { colTypes := collisionTypePair{a, b} delete(collisionHandlerMap[s], colTypes) C.cpSpaceRemoveCollisionHandler(s.c(), C.cpCollisionType(a), C.cpCollisionType(b)) }