linearly v0.32.0 • Docs
linearly v0.32.0 / vec4 / atan
Function: atan()
atan(
y
,x
?):vec4
Returns the arc-tangent of the parameters. If x
is not provided, y
is regarded as a value of y/x
.
Parameters
• y: vec4
the values of the y-coordinate
• x?: vec4
the values of the x-coordinate
Returns
the angle in degrees
See
https://thebookofshaders.com/glossary/?search=atan