Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labs_ihm_2020
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_2020
Commits
969dc938
Commit
969dc938
authored
4 years ago
by
raed.abdennad
Browse files
Options
Downloads
Patches
Plain Diff
Update lab1/example/example.js
parent
dbb29d7a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab1/example/example.js
+1
-1
1 addition, 1 deletion
lab1/example/example.js
with
1 addition
and
1 deletion
lab1/example/example.js
+
1
−
1
View file @
969dc938
...
...
@@ -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
();
...
...
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