@interface RRCollider : NSObject
class RRCollider : NSObject
The abstract base class for colliders used in the RRGLRenderView to perform hit testing. Colliders can be attached to RRRenderable instances.
Since this class is just a wrapper for the internal implementation, always use the isEqual method to campare RRCollider instances instead of just comparing their pointer addresses!
- (BOOL)isEqualToCollider:(RRCollider *_Nonnull)object;
func isEqual(to object: RRCollider) -> Bool