Commit 53ae9548 authored by Matthias Betz's avatar Matthias Betz
Browse files

fix bracket

parent ea536269
Pipeline #12352 passed with stages
in 9 seconds
...@@ -351,6 +351,7 @@ function clearViewing(gl) { ...@@ -351,6 +351,7 @@ function clearViewing(gl) {
gl.deleteBuffer(viewInfo.indexVbo); gl.deleteBuffer(viewInfo.indexVbo);
gl.deleteVertexArray(viewInfo.vao); gl.deleteVertexArray(viewInfo.vao);
} }
}
function translateByClosestPoint(vertexData, closestIndex) { function translateByClosestPoint(vertexData, closestIndex) {
const i = closestIndex * 3; const i = closestIndex * 3;
...@@ -603,7 +604,7 @@ function createProgram(gl, vertexShaderSource, fragmentShaderSource) { ...@@ -603,7 +604,7 @@ function createProgram(gl, vertexShaderSource, fragmentShaderSource) {
gl.deleteShader(fshader); gl.deleteShader(fshader);
gl.linkProgram(program); gl.linkProgram(program);
return program; return program;
}; }
var input = document.getElementById('input'); var input = document.getElementById('input');
input.addEventListener("change", function () { input.addEventListener("change", function () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment