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

f32
f64
vec2
Radians

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

Default: false

bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f32