rapid-sdk
    Preparing search index...

    Function vecAngle

    • Return the counterclockwise angle in the range (-π, π) between the positive X axis and the line intersecting a and b.

      Parameters

      Returns number

      resulting angle

      vecAngle([0, 0], [-1, 0]);   // returns π