Skip to content
Snippets Groups Projects
Commit 969dc938 authored by raed.abdennad's avatar raed.abdennad
Browse files

Update lab1/example/example.js

parent dbb29d7a
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ function initVertexBuffers(gl) {
3/5, -5/7,
]);
const n = vertices.length; // The number of vertices
const n = vertices.length / 2; // The number of vertices
// Create a buffer object
const vertexBuffer = gl.createBuffer();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment