vec2.sphericalInterpolate

Revision as of 15:34, 24 August 2019 by Mex (talk | contribs) (Mex moved page Vec2.sphericalInterpolate to vec2.sphericalInterpolate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

sphericalInterpolate

Signature: void sphericalInterpolate(Vec2 vector, float ratio)

Usage: fetch a new 2D vector of the vector spherically interpolated with a second 2D vector. Ratio is limited to between -1.0 and 1.0

Parameters

Vec2 vector The second 2D vector.
float ratio The interpolation ratio.

Return

void

On failure: Vec2 Vec2(0.0,0.0)