powered by
rotateV(x2, y2, x0, y0, ang)
rotateS
x=c(1,0,-1,0) y=c(0,1,0,-1) pts=rotateV(x,y,0,0,pi/4)
Run the code above in your browser using DataLab