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

Function drawCheckerboard

script.js:1325–1329  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

1323}
1324
1325function drawCheckerboard (target) {
1326 checkerboardProgram.bind();
1327 gl.uniform1f(checkerboardProgram.uniforms.aspectRatio, canvas.width / canvas.height);
1328 blit(target);
1329}
1330
1331function drawDisplay (target) {
1332 let width = target == null ? gl.drawingBufferWidth : target.width;

Callers 1

renderFunction · 0.85

Calls 1

bindMethod · 0.45

Tested by

no test coverage detected