Home Reference VEX VEX functions 

atan2 vex function

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

Tags: math

Returns the arc-tangent of y/x.

  1. float atan2(float y, float x)

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