Skip to content

Commit 72a0a94

Browse files
davcrigreggman
authored andcommitted
Fix typo in scene graph lesson
1 parent 1f32fe0 commit 72a0a94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

webgl/lessons/ko/webgl-scene-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ CS 전문가나 그래픽스 전문가가 이 말을 듣는다면 여러가지
9797

9898
// 새로운 부모 노드의 자식으로 추가
9999
if (parent) {
100-
parent.children.append(this);
100+
parent.children.push(this);
101101
}
102102
this.parent = parent;
103103
};

webgl/lessons/webgl-scene-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Let's give it a way to set the parent of a node.
107107

108108
// Add us to our new parent
109109
if (parent) {
110-
parent.children.append(this);
110+
parent.children.push(this);
111111
}
112112
this.parent = parent;
113113
};

webgl/lessons/zh_cn/webgl-scene-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ TOC: 场景图
9494

9595
// 添加到新的父节点上
9696
if (parent) {
97-
parent.children.append(this);
97+
parent.children.push(this);
9898
}
9999
this.parent = parent;
100100
};

0 commit comments

Comments
 (0)