lerp( other, scalar )
instance function
Interpolate between this Vector and another.
Arguments
Name | Type | Description |
---|---|---|
other | Vector | The vector to interpolate to |
scalar | Number | 0 to 1 - 0 is this vector and 1 is the target |
Returns
Type | Description |
---|---|
Vector | The interpolated result |