Ver Código Fonte

use consistent distance to inner trixl.

Lucas Stadler 12 anos atrás
pai
commit
90c984611c
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      js/pixl/public/trixl.html

+ 2 - 2
js/pixl/public/trixl.html

@ -316,10 +316,10 @@
316 316
			gl.uniformMatrix4fv(program.transform, false, transform([+3.0, 0.0, 2]));
317 317
			gl.drawArrays(gl.TRIANGLES, 0, 6 * 6);
318 318
319
			gl.uniformMatrix4fv(program.transform, false, transform([+0.0, +2.0, 2]));
319
			gl.uniformMatrix4fv(program.transform, false, transform([+0.0, +3.0, 2]));
320 320
			gl.drawArrays(gl.TRIANGLES, 0, 6 * 6);
321 321
322
			gl.uniformMatrix4fv(program.transform, false, transform([+0.0, -2.0, 2]));
322
			gl.uniformMatrix4fv(program.transform, false, transform([+0.0, -3.0, 2]));
323 323
			gl.drawArrays(gl.TRIANGLES, 0, 6 * 6);
324 324
325 325
			gl.uniform4f(program.color, -1, -1, -1, 0);