Skip to content

Commit e786ecc

Browse files
authored
Merge pull request #208 from Shubidumdu/fix_typo_in_korean
Fix code typos in 3d orthographic chapter of the korean version
2 parents 72a0a94 + 20e90fc commit e786ecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webgl/lessons/ko/webgl-3d-orthographic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ void main() {
4141
```glsl
4242
// 버텍스 쉐이더로 입력되는 attribute입니다.
4343
// 버퍼로부터 데이터를 받습니다.
44-
in vec2 a_position;
44+
in vec4 a_position;
4545
4646
// 위치를 변환하는 행렬
47-
uniform mat3 u_matrix;
47+
uniform mat4 u_matrix;
4848
4949
// 모든 쉐이더는 main함수를 가지고 있습니다.
5050
void main() {

0 commit comments

Comments
 (0)