Tangent Inverse

The inverse tangent trigonometric function (atan or atan2, depending on input type) calculates: atan: the angle whose tangent is the input scalar number. atan2: the angle of a ray from the origin to the input vec2.

The resulting angle is always in the range [-90°, 90°] or, in radians, [-π/2, π/2].

Interface

Inputs

ParameterDetailsPossible Types
Value

The given value for which the angle is calculated.

Primary Input

Vec2[]
Vec2
f32[]
f32
f64[]
f64
Radians

Whether the resulting angle should be given in as radians instead of degrees.

Default: false

bool[]
bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]
f32
f32[]