rotation around fixed point by angle

Hello, i want to know how to rotate a point by a specific angle function prototype in javascript

var point = {
    x: 1;
    y: 3;
};
angle in radian

function rotate(point, angle);

thanks a lot :D.

Answers

Sign In or Register to comment.