MCPcopy
hub / github.com/dli/paint / mix

Function mix

paint.js:198–200  ·  view source on GitHub ↗
(a, b, t)

Source from the content-addressed store, hash-verified

196 }
197
198 function mix (a, b, t) {
199 return (1.0 - t) * a + t * b;
200 }
201
202 //the texture is always updated to be (paintingWidth x paintingHeight) x resolutionScale
203 function Snapshot (texture, paintingWidth, paintingHeight, resolutionScale) {

Callers 1

paint.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected