Function dotProduct

  • Get the dot product of two vector

    Parameters

    • v: Vector2

      The first vector to get the dot product from

    • w: Vector2

      The second vector to get the dot product from

    Returns number

    The dot product of the two vectors