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

Update YourLetter.js

parent 084af2bf
No related branches found
No related tags found
No related merge requests found
......@@ -15,17 +15,17 @@ function YourLetter() {
this.vertices = new Float32Array([
v0, v1,
// v2, v3, v4... TODO: Complete with your vertices (see cube example in the README file of lab 2)
// v2, v3, v4... TODO: Complete with your vertices
].flat(2));
// Define vertices indices
this.indices = new Uint8Array([ // Indices of the vertices
0,1,8, 0,8,6,
// 0,6,7,... TODO: Complete with your indices (see cube example in the README file of lab 2)
// 0,6,7,... TODO: Complete with your indices
]);
// Define colors
this.colors = new Float32Array(
// TODO: Complete with your colors (see cube example in the README file of lab 2)
// TODO: Complete with your colors
);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment