arctan(x/y) v.s. arctan2(x,y) -- Math arctan2(x,y) is similar to arctan(x/y) but a little difference is arctan can handle when y is equal to zero and arctan2 can handle when x is not equal to zero and y is equal to zero. more details and definition on: wiki website Atan2 - 維基百科,自由的百科全書 (wikipedia.org)
Comments
Post a Comment