containsPoint with Rotation

A general example showing how containsPoint considers the rotation of an object when checking for collision. The small red dot will follow your mouse, and any time an object contains it the object will turn red.