Skip to content

Commit

Permalink
Fix code error in load-gltf.html (#24976)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostword authored Nov 17, 2022
1 parent 268aa2d commit 2bc5ae9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions manual/en/load-gltf.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ <h1>Loading a .GLTF File</h1>
- cars = root.getObjectByName('Cars');
+ const loadedCars = root.getObjectByName('Cars');
+ const fixes = [
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI +* .5], },
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI * .5], },
+ { prefix: 'CAR_03', rot: [0, Math.PI, 0], },
+ { prefix: 'Car_04', rot: [0, Math.PI, 0], },
+ ];
Expand Down Expand Up @@ -707,4 +707,4 @@ <h1>Loading a .GLTF File</h1>



</body></html>
</body></html>
4 changes: 2 additions & 2 deletions manual/ja/load-gltf.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ <h1>でGLFTファイルを読み込む</h1>
- cars = root.getObjectByName('Cars');
+ const loadedCars = root.getObjectByName('Cars');
+ const fixes = [
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI +* .5], },
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI * .5], },
+ { prefix: 'CAR_03', rot: [0, Math.PI, 0], },
+ { prefix: 'Car_04', rot: [0, Math.PI, 0], },
+ ];
Expand Down Expand Up @@ -643,4 +643,4 @@ <h1>でGLFTファイルを読み込む</h1>



</body></html>
</body></html>
4 changes: 2 additions & 2 deletions manual/ko/load-gltf.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h1>에서 .GLTF 파일 불러오기</h1>
- cars = root.getObjectByName('Cars');
+ const loadedCars = root.getObjectByName('Cars');
+ const fixes = [
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI +* .5], },
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI * .5], },
+ { prefix: 'CAR_03', rot: [0, Math.PI, 0], },
+ { prefix: 'Car_04', rot: [0, Math.PI, 0], },
+ ];
Expand Down Expand Up @@ -674,4 +674,4 @@ <h1>에서 .GLTF 파일 불러오기</h1>



</body></html>
</body></html>
2 changes: 1 addition & 1 deletion manual/zh/load-gltf.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h1>加载 .gltf 文件</h1>
- cars = root.getObjectByName('Cars');
+ const loadedCars = root.getObjectByName('Cars');
+ const fixes = [
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI +* .5], },
+ { prefix: 'Car_08', rot: [Math.PI * .5, 0, Math.PI * .5], },
+ { prefix: 'CAR_03', rot: [0, Math.PI, 0], },
+ { prefix: 'Car_04', rot: [0, Math.PI, 0], },
+ ];
Expand Down

0 comments on commit 2bc5ae9

Please sign in to comment.