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

SFEX.math.lerpAngle

S๐Ÿท๏ธ Math

Part of StarfallEx namespace

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

Description

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

Parameters

NameTypeDescription
rationumberRatio of progress through values
fromAngleAngle to begin from
toAngleAngle to end at

Returns

TypeDescription
AngleThe interpolated angle

Examples

No examples available.

Used In

No usages found in the codebase.