Scenic.Math.Vector2.dot

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

dot(vector2_a, vector2_b)

View Source

Specs

dot(vector2_a :: Scenic.Math.vector_2(), vector2_b :: Scenic.Math.vector_2()) ::
  number()

Calculates the dot product of two vectors.

Parameters:

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

Returns: A number which is the result of the dot product