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