atan VEX function

Returns the arc-tangent of the argument.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

  1. float atan(float )

  2. vector atan(vector )

  3. vector4 atan(vector4 )

  4. float atan(float y, float x)

    Same as atan2.

Returns the arc-tangent of the argument. The return value is in the range -pi/2 to pi/2.