atan returns either the angle whose
trigonometric arctangent is y \over x or
y_over_x, depending on which overload is
invoked. In the first overload, the signs of y and x are
used to determine the quadrant that the angle lies in. The value
returned by atan in this case is in the
range [-π,π]. The result is undefined if x = 0.
For the second overload, atan returns the
angle whose tangent is y_over_x. The
value returned in this case is in the range
[-{π \over 2 },{π \over 2}].
y_over_x Type: float
Type: float
JSON
{
"Type": "atan(float)",
"Name": "atan(float)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y_over_x",
"Type": "float"
}
],
"OutputPins": [
{
"Id": "",
"Type": "float"
}
]
}
y_over_x Type: vec2
Type: vec2
JSON
{
"Type": "atan(vec2)",
"Name": "atan(vec2)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y_over_x",
"Type": "vec2"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec2"
}
]
}
y_over_x Type: vec3
Type: vec3
JSON
{
"Type": "atan(vec3)",
"Name": "atan(vec3)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y_over_x",
"Type": "vec3"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec3"
}
]
}
y_over_x Type: vec4
Type: vec4
JSON
{
"Type": "atan(vec4)",
"Name": "atan(vec4)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y_over_x",
"Type": "vec4"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec4"
}
]
}
y Type: float x Type: float
Type: float
JSON
{
"Type": "atan(float,float)",
"Name": "atan(float,float)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y",
"Type": "float"
},
{
"Connection": null,
"Id": "x",
"Type": "float"
}
],
"OutputPins": [
{
"Id": "",
"Type": "float"
}
]
}
y Type: vec2 x Type: vec2
Type: vec2
JSON
{
"Type": "atan(vec2,vec2)",
"Name": "atan(vec2,vec2)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y",
"Type": "vec2"
},
{
"Connection": null,
"Id": "x",
"Type": "vec2"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec2"
}
]
}
y Type: vec3 x Type: vec3
Type: vec3
JSON
{
"Type": "atan(vec3,vec3)",
"Name": "atan(vec3,vec3)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y",
"Type": "vec3"
},
{
"Connection": null,
"Id": "x",
"Type": "vec3"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec3"
}
]
}
y Type: vec4 x Type: vec4
Type: vec4
JSON
{
"Type": "atan(vec4,vec4)",
"Name": "atan(vec4,vec4)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "y",
"Type": "vec4"
},
{
"Connection": null,
"Id": "x",
"Type": "vec4"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec4"
}
]
}