MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / update

Method update

components/liquid-ether.tsx:675–686  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

673 this.scene!.add(this.line);
674 }
675 update(...args: any[]) {
676 const { dt, isBounce, BFECC } = (args[0] || {}) as {
677 dt?: number;
678 isBounce?: boolean;
679 BFECC?: boolean;
680 };
681 if (!this.uniforms) return;
682 if (typeof dt === "number") this.uniforms.dt.value = dt;
683 if (typeof isBounce === "boolean") this.line.visible = isBounce;
684 if (typeof BFECC === "boolean") this.uniforms.isBFECC.value = BFECC;
685 super.update();
686 }
687 }
688
689 class ExternalForce extends ShaderPass {

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected