Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labs_IHM_2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cours IHM
labs_IHM_2019
Commits
6b8f2f4f
Commit
6b8f2f4f
authored
5 years ago
by
raed.abdennad
Browse files
Options
Downloads
Patches
Plain Diff
Update YourLetter.js
parent
084af2bf
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab2/src/YourLetter.js
+3
-3
3 additions, 3 deletions
lab2/src/YourLetter.js
with
3 additions
and
3 deletions
lab2/src/YourLetter.js
+
3
−
3
View file @
6b8f2f4f
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment