Source

hello / js / index.html

Diff from to

js/index.html

 </head>
 <body>
 
+  <h2>WebGL</h2>
+  <script type="text/javascript">
+    //<!-- 
+	 function webGLStart() {
+    var canvas = document.getElementById("canvas0");
+    initGL(canvas);
+    initShaders();
+    initBuffers();
+
+    gl.clearColor(0.0, 0.0, 0.0, 1.0);
+    gl.clearDepth(1.0)
+    gl.enable(gl.DEPTH_TEST);
+    gl.depthFunc(gl.LEQUAL);
+
+    setInterval(drawScene, 15);
+  }
+  //-->
+  </script>
+  
 <h2>realtime reflection form</h2>
         <table class="bbs">
           <tr>