Skip to content

Commit 5f517d6

Browse files
authored
replace position by brightness in comment (#448)
1 parent 58b2463 commit 5f517d6

4 files changed

+4
-4
lines changed

webgl/lessons/webgl-3d-perspective-correct-texturemapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ and setup that attribute at render time
140140
// Turn on the attribute
141141
gl.enableVertexAttribArray(brightnessAttributeLocation);
142142
143-
// Bind the position buffer.
143+
// Bind the brightness buffer.
144144
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);
145145
146146
// Tell the attribute how to get data out of brightnessBuffer (ARRAY_BUFFER)

webgl/webgl-clipspace-rectangles-with-varying-non-1-w-repeat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
// Turn on the attribute
146146
gl.enableVertexAttribArray(brightnessAttributeLocation);
147147

148-
// Bind the position buffer.
148+
// Bind the brightness buffer.
149149
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);
150150

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

webgl/webgl-clipspace-rectangles-with-varying-non-1-w.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
// Turn on the attribute
146146
gl.enableVertexAttribArray(brightnessAttributeLocation);
147147

148-
// Bind the position buffer.
148+
// Bind the brightness buffer.
149149
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);
150150

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

webgl/webgl-clipspace-rectangles-with-varying.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
// Turn on the attribute
145145
gl.enableVertexAttribArray(brightnessAttributeLocation);
146146

147-
// Bind the position buffer.
147+
// Bind the brightness buffer.
148148
gl.bindBuffer(gl.ARRAY_BUFFER, brightnessBuffer);
149149

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

0 commit comments

Comments
 (0)