Scenic.Math.Vector2.div
You're seeing just the function
div
, go back to Scenic.Math.Vector2 module for more information.
Specs
div(vector2 :: Scenic.Math.vector_2(), scalar :: number()) :: Scenic.Math.vector_2()
Divide a vector by a scalar.
Parameters:
vector2
- the vectorscalar
- the scalar value
Returns: A new vector which is the result of the division