Scenic.Math.Vector2.nlerp
You're seeing just the function
nlerp
, go back to Scenic.Math.Vector2 module for more information.
Specs
nlerp( vector_a :: Scenic.Math.vector_2(), vector_b :: Scenic.Math.vector_2(), t :: number() ) :: Scenic.Math.vector_2()
Calculate the nlerp (normalized lerp) of two vectors.
See This explanation for more info.
Parameters:
vector_a
- the first vectorvector_b
- the second vectort
- the "t" value (see link above). Must be between 0 and 1.
Returns: A vector, which is the result of the nlerp.