Skip to content

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

Notifications You must be signed in to change notification settings

AgapovOne/LerpRemap

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages