linearly v0.32.0 • Docs
linearly v0.32.0 / vec3 / atan2
Function: atan2()
atan2(
y
,x
):vec3
Returns the arc-tangent of the parameters.
Parameters
• y: vec3
the values of the y-coordinate
• x: vec3
the values of the x-coordinate
Returns
the angle in degrees
See
https://thebookofshaders.com/glossary/?search=atan