MCPcopy Index your code
hub / github.com/PavelDoGreat/WebGL-Fluid-Simulation / applyInputs

Function applyInputs

script.js:1219–1229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1217}
1218
1219function applyInputs () {
1220 if (splatStack.length > 0)
1221 multipleSplats(splatStack.pop());
1222
1223 pointers.forEach(p => {
1224 if (p.moved) {
1225 p.moved = false;
1226 splatPointer(p);
1227 }
1228 });
1229}
1230
1231function step (dt) {
1232 gl.disable(gl.BLEND);

Callers 1

updateFunction · 0.85

Calls 2

multipleSplatsFunction · 0.85
splatPointerFunction · 0.85

Tested by

no test coverage detected