Function dot

  • Calculates the dot product of two vec2's

    Parameters

    • a: Vec2

      the first operand

    • b: Vec2

      the second operand

    Returns number

    dot product of a and b