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

Method update

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

Source from the content-addressed store, hash-verified

872 this.init();
873 }
874 update(...args: any[]) {
875 const { vel, pressure } = (args[0] || {}) as {
876 vel?: any;
877 pressure?: any;
878 };
879 if (this.uniforms && vel && pressure) {
880 this.uniforms.velocity.value = vel.texture;
881 this.uniforms.pressure.value = pressure.texture;
882 }
883 super.update();
884 }
885 }
886
887 class Simulation {

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected