MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / lerp

Method lerp

examples/extern/gmath.bundle.js:706–708  ·  view source on GitHub ↗
(other, alpha)

Source from the content-addressed store, hash-verified

704 return x + y;
705 }
706 lerp(other, alpha) {
707 return this.add(other.sub(this).mul(alpha));
708 }
709 set(other) {
710 this.x = other.x;
711 this.y = other.y;

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
mulMethod · 0.45
subMethod · 0.45

Tested by

no test coverage detected