/LerpRemap

Swift version of linear interpolation and remap. With clamped/unclamped versions

Primary LanguageSwift

LerpRemap

Linear interpolation, clamping

// On all floating point types
lerp(min:max:)
invLerp(min:max:)
remap(fromMin:fromMax:toMin:toMax:)
clamped(min:max:)

Demo

Open Interpolation.xcworkspace