VelcroPhysics
VelcroPhysics copied to clipboard
Implement equality interface
The engine itself uses HashSet<T> in order to quickly index objects. HashSet<T> uses IEqualityComparer<T> implementation unless another comparer is specified in the constructor. Shapes, bodies, fixtures and other data classes should expose the comparer via IEqualityComparer<T> for such features to function correctly.