2d rotation in computer graphics c program. Rotation point