Wraps a collision function to swap shape A and B arguments. Used when registering bidirectional collision handlers.
the collision function to wrap
A new function that calls fn with A and B swapped
Wraps a collision function to swap shape A and B arguments. Used when registering bidirectional collision handlers.