Simple Rotation Example
by 2darray
















































Simple Rotation Example
Just a simple little 2D-rotation example.
The function takes a 2D position (X,Y) and rotates it by ANGLE. CX,CY represents the centerpivot point.
The lines of code in the middle are the rotation matrix: