math: add lerp

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-05-12 14:26:46 +02:00
parent ca27f1e263
commit 6e4105d8e2

View file

@ -146,6 +146,7 @@ pub const log10 = std.math.log10;
pub const degreesToRadians = std.math.degreesToRadians;
pub const radiansToDegrees = std.math.radiansToDegrees;
pub const maxInt = std.math.maxInt;
pub const lerp = std.math.lerp;
/// 2/sqrt(π)
pub const two_sqrtpi = std.math.two_sqrtpi;