Skip to content

Commit d866946

Browse files
committed
typos
1 parent e9f9219 commit d866946

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

webgl/lessons/ko/webgl1-to-webgl2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ vertex array objects가 없던 WebGL1에서는, attributes에 대한 모든 데
226226
{ enable: ?, size: ?, type: ?, normalize: ?, stride: ?, offset: ?, buffer: ?, },
227227
],
228228
},
229-
}
229+
}
230230

231231
`gl.vertexAttribPointer`, `gl.enableVertexAttribArray`, `gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, ??)`처럼 함수 호출이 전역 상태에 영향을 주었습니다.
232232
각각의 원하는 것을 그리기 전에, 모든 attribute들을 초기화해야 했었습니다.

webgl/lessons/pt-br/webgl1-to-webgl2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ foram para o estado WebGL global. Você pode imaginar isso assim
234234
{ enable: ?, size: ?, type: ?, normalize: ?, stride: ?, offset: ?, buffer: ?, },
235235
],
236236
},
237-
}
237+
}
238238

239239
Chamar funções como `gl.vertexAttribPointer`,` gl.enableVertexAttribArray` e
240240
`gl.bindBuffer (gl.ELEMENT_ARRAY_BUFFER, ??)` afetariam esse estado global.

webgl/lessons/zh_cn/webgl1-to-webgl2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ WebGL1中许多特性是可选扩展。在WebGL2中,以下所有的都是标
205205
{ enable: ?, size: ?, type: ?, normalize: ?, stride: ?, offset: ?, buffer: ?, },
206206
],
207207
},
208-
}
208+
}
209209

210210
调用像`gl.vertexAttribPointer``gl.enableVertexAttribArray`
211211
`gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, ??)`会影响全局状态。在绘制你想要绘制的事情之前,你需要设置所有属性,如果你绘制索引数据,你需要设置`ELEMENT_ARRAY_BUFFER`

0 commit comments

Comments
 (0)