math: add lerp
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ca27f1e263
commit
6e4105d8e2
1 changed files with 1 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ pub const log10 = std.math.log10;
|
||||||
pub const degreesToRadians = std.math.degreesToRadians;
|
pub const degreesToRadians = std.math.degreesToRadians;
|
||||||
pub const radiansToDegrees = std.math.radiansToDegrees;
|
pub const radiansToDegrees = std.math.radiansToDegrees;
|
||||||
pub const maxInt = std.math.maxInt;
|
pub const maxInt = std.math.maxInt;
|
||||||
|
pub const lerp = std.math.lerp;
|
||||||
|
|
||||||
/// 2/sqrt(π)
|
/// 2/sqrt(π)
|
||||||
pub const two_sqrtpi = std.math.two_sqrtpi;
|
pub const two_sqrtpi = std.math.two_sqrtpi;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue