]> git.r.bdr.sh - rbdr/lissajous/blobdiff - lib/webgl_utils.js
Add a few comments
[rbdr/lissajous] / lib / webgl_utils.js
index 42bd8b6630d2266fca2328da4084eeb3a575e560..b594050e57ddcdbc3b80fbc4b3bb1dced17a6578 100644 (file)
@@ -35,6 +35,9 @@ export function initializeBuffers(gl) {
 }
 
 
 }
 
 
+/**
+  * Loads and compiles a shader
+  */
 function loadShader(gl, type, source) {
 
   const shader = gl.createShader(type);
 function loadShader(gl, type, source) {
 
   const shader = gl.createShader(type);