MCPcopy
hub / github.com/lo-th/Oimo.js / lerp

Function lerp

examples/js/ImprovedNoise.js:28–32  ·  view source on GitHub ↗
(t, a, b)

Source from the content-addressed store, hash-verified

26 }
27
28 function lerp(t, a, b) {
29
30 return a + t * (b - a);
31
32 }
33
34 function grad(hash, x, y, z) {
35

Callers 1

ImprovedNoiseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected