atan2 VEX function

Returns the arc-tangent of y/x.

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

  1. float atan2(float y, float x)

Returns the arc-tangent of y/x. The return value is in the range -π to pi.