Scenic.Math.Vector2.max

You're seeing just the function max, go back to Scenic.Math.Vector2 module for more information.
Link to this function

max(vector2_a, vector2_b)

View Source

Specs

max(vector2_a :: Scenic.Math.vector_2(), vector2_b :: Scenic.Math.vector_2()) ::
  Scenic.Math.vector_2()

Find a new vector derived from the highest x and y from two given vectors.

Parameters:

  • vector2_a - the first vector
  • vector2_b - the second vector

Returns: A vector derived from the highest x and y from two given vectors