ixfx
    Preparing search index...

    Function oppositeFromAdjacent

    • Returns the opposite length of a right-angle triangle, marked here

         .  <
      .. <
      .... <

      This is just:

      opposite = Math.tan(angle) * adjacent
      

      Parameters

      • angleRad: number
      • adjacent: number

      Returns number