mathInverseLerp

Category: Mathematics

Syntax:

mathInverseLerp:Double(a:Double, b:Double, value:Double)


Parameters

Returns

Double



Summary

Calculates the interpolation factor for a value between two points.

Takes a (start point), b (end point), value (point to calculate factor for).

Returns the interpolation factor (t) that would produce value when lerping between a and b.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn