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

Function drawColor

script.js:1319–1323  ·  view source on GitHub ↗
(target, color)

Source from the content-addressed store, hash-verified

1317}
1318
1319function drawColor (target, color) {
1320 colorProgram.bind();
1321 gl.uniform4f(colorProgram.uniforms.color, color.r, color.g, color.b, 1);
1322 blit(target);
1323}
1324
1325function drawCheckerboard (target) {
1326 checkerboardProgram.bind();

Callers 1

renderFunction · 0.85

Calls 1

bindMethod · 0.45

Tested by

no test coverage detected