vec2-fn
    Preparing search index...

    Function dotPerp

    • Calculate the perpendicular dot product of two vectors.

      Parameters

      Returns number

      • Number result of the perpendicular dot product.
      dotPerp({ x: 1, y: 0 }, { x: 0, y: 1 }); // -> 1