Function dot

  • Computes the dot product of two vectors; assumes both vectors have three entries.

    Parameters

    • a: Vec2

      Operand vector.

    • b: Vec2

      Operand vector.

    Returns number

    dot product