Useful physics related functions
Contains functions such as:
Rotate point
Convex collision
Bouncing
etc.
INSTRUCTIONS
To rotate a point, use RotateX and rotateY to get the new x and y point position.
To check if a point is inside a convex shape, use ConvexCollision. The first x/y values are the location of the point, the others create a line. If it returns 1 when used on every line in the convex shape, the point is in the shape. The lines must go round the center of the shape clockwise.