Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.math.lerpVector

S๐Ÿท๏ธ Math

Part of StarfallEx namespace

๐Ÿ”— External
math.lerpVector(ratio, from, to)
View on GitHub|lua/starfall/libs_sh/math.lua:374
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Calculates point between first and second vector using given fraction and linear interpolation.

Parameters

NameTypeDescription
rationumberRatio of progress through values
fromVectorVector to begin from
toVectorVector to end at

Returns

TypeDescription
VectorThe interpolated vector

Examples

No examples available.

Used In

No usages found in the codebase.