Home Reference VEX VEX functions 

atan vex function

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

Tags: math

Returns the arc-tangent of the argument.

  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.