Function crossProduct

  • Get the cross product of two vector

    Parameters

    • v: Vector2

      The first vector to get the cross product from

    • w: Vector2

      The second vector to get the cross product from

    Returns number

    The cross product of the two vectors