Scenic.Math.Vector2.dot
You're seeing just the function
dot
, go back to Scenic.Math.Vector2 module for more information.
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 vectorvector2_b
- the second vector
Returns: A number which is the result of the dot product