Skip to content

Commit 5110106

Browse files
committed
typo
1 parent 470d9c5 commit 5110106

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

webgl/lessons/ko/webgl-less-code-more-fun.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ gl.enableVertexAttribArray(a_normalLoc);
119119
gl.vertexAttribPointer(a_normalLoc, normalNumComponents, gl.FLOAT, false, 0, 0);
120120
gl.bindBuffer(gl.ARRAY_BUFFER, texcoordBuffer);
121121
gl.enableVertexAttribArray(a_texcoordLoc);
122-
gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, 0, 0);
122+
gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, false, 0, 0);
123123
124124
// (사용 방식에 따라서)초기화 시점 또는 그리는 시점에
125125
var someWorldViewProjectionMat = computeWorldViewProjectionMatrix();

webgl/lessons/webgl-less-code-more-fun.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ gl.enableVertexAttribArray(a_normalLoc);
119119
gl.vertexAttribPointer(a_normalLoc, normalNumComponents, gl.FLOAT, false, 0, 0);
120120
gl.bindBuffer(gl.ARRAY_BUFFER, texcoordBuffer);
121121
gl.enableVertexAttribArray(a_texcoordLoc);
122-
gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, 0, 0);
122+
gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, false, 0, 0);
123123
124124
// At init or draw time depending on use.
125125
var someWorldViewProjectionMat = computeWorldViewProjectionMatrix();

webgl/lessons/zh_cn/webgl-less-code-more-fun.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ gl.enableVertexAttribArray(a_normalLoc);
116116
gl.vertexAttribPointer(a_normalLoc, normalNumComponents, gl.FLOAT, false, 0, 0);
117117
gl.bindBuffer(gl.ARRAY_BUFFER, texcoordBuffer);
118118
gl.enableVertexAttribArray(a_texcoordLoc);
119-
gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, 0, 0);
119+
gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, false, 0, 0);
120120
121121
// 初始化或绘制时需要的全局变量值
122122
var someWorldViewProjectionMat = computeWorldViewProjectionMatrix();

0 commit comments

Comments
 (0)