Skip to content

Commit

Permalink
<No commit-message>
Browse files Browse the repository at this point in the history
  • Loading branch information
memoryleak47 committed Oct 12, 2020
1 parent 88009c6 commit e67f176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/site/draw.js
Expand Up @@ -45,10 +45,10 @@ window.init_drawing = function() {
gl.bindBuffer(gl.ARRAY_BUFFER, textureCoordBuffer);

const r = [
0.0, 0.0,
1.0, 0.0,
0.0, 1.0,
1.0, 1.0,
0.0, 0.0,
1.0, 0.0,
];
const tc = [r.slice(0, 6), r.slice(2,8), r.slice(0, 6), r.slice(2,8)].flat();
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(tc), gl.STATIC_DRAW);
Expand Down

0 comments on commit e67f176

Please sign in to comment.