Skip to content

damianc/math-atan3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

math-atan3

This method works like Math.atan2(), but for two points that can be other than $(0,0)$.

Technically, it returns the angle in the plane (in radians) between the line $f(x)=y_1$ and the ray from the point $(x_1,y_1)$ to the point $(x_2,y_2)$.

Math.atan3([x1, y1], [x2, y2])

About

Math.atan2() for points other than (0,0).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published