Scenic.Math.Vector2.cross
You're seeing just the function
cross
, go back to Scenic.Math.Vector2 module for more information.
Specs
cross(vector2_a :: Scenic.Math.vector_2(), vector2_b :: Scenic.Math.vector_2()) :: number()
Calculates the cross product of two vectors.
Parameters:
vector2_a
- the first vectorvector2_b
- the second vector
Returns: A number which is the result of the cross product