Scenic.Math.Vector2.sub
You're seeing just the function
sub
, go back to Scenic.Math.Vector2 module for more information.
Specs
sub(vector2_a :: Scenic.Math.vector_2(), vector2_b :: Scenic.Math.vector_2()) :: Scenic.Math.vector_2()
Subtract one vector from another.
Parameters:
vector2_a
- the first vectorvector2_b
- the second vector, which will be subtracted from the first
Returns: A new vector which is the result of the subtraction