Skip to content

Commit

Permalink
replace position by brightness in comment (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
clems4ever authored Oct 6, 2024
1 parent 58b2463 commit 5f517d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ and setup that attribute at render time
// Turn on the attribute
gl.enableVertexAttribArray(brightnessAttributeLocation);
// Bind the position buffer.
// Bind the brightness buffer.
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);
// Tell the attribute how to get data out of brightnessBuffer (ARRAY_BUFFER)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
// Turn on the attribute
gl.enableVertexAttribArray(brightnessAttributeLocation);

// Bind the position buffer.
// Bind the brightness buffer.
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);

// Tell the attribute how to get data out of brightnessBuffer (ARRAY_BUFFER)
Expand Down
2 changes: 1 addition & 1 deletion webgl/webgl-clipspace-rectangles-with-varying-non-1-w.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
// Turn on the attribute
gl.enableVertexAttribArray(brightnessAttributeLocation);

// Bind the position buffer.
// Bind the brightness buffer.
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);

// Tell the attribute how to get data out of brightnessBuffer (ARRAY_BUFFER)
Expand Down
2 changes: 1 addition & 1 deletion webgl/webgl-clipspace-rectangles-with-varying.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
// Turn on the attribute
gl.enableVertexAttribArray(brightnessAttributeLocation);

// Bind the position buffer.
// Bind the brightness buffer.
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);

// Tell the attribute how to get data out of brightnessBuffer (ARRAY_BUFFER)
Expand Down

0 comments on commit 5f517d6

Please sign in to comment.