You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//theoretically, console should print (0, 100)varvec=newVictor(0,100);vec.rotate(Math.PI/2);console.log(vec);//(-100, 0)
//theoretically, console should print (-100, 0)varvec=newVictor(0,100);vec.rotateBy(Math.PI/2);console.log(vec);//(0, -100), rotate by this.angle() + PI / 2
The text was updated successfully, but these errors were encountered:
724Cheers
changed the title
.rotate(angle) and .rotateBy(rotation), their feature had been swop!
".rotate(angle)" and ".rotateBy(rotation)", their feature have been swapped!
Mar 23, 2016
The text was updated successfully, but these errors were encountered: