Переглянути джерело

Fix code error in load-gltf.html (#24976)

losting 2 роки тому
батько
коміт
2bc5ae9acf

+ 2 - 2
manual/en/load-gltf.html

@@ -271,7 +271,7 @@ the new <a href="/docs/#api/en/core/Object3D"><code class="notranslate" translat
 -    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], },
 +    ];
@@ -707,4 +707,4 @@ whatever tool we're using to create the data into our app.</p>
 
 
 
-</body></html>
+</body></html>

+ 2 - 2
manual/ja/load-gltf.html

@@ -249,7 +249,7 @@ gltfLoader.load('resources/models/cartoon_lowpoly_small_city_free_pack/scene.glt
 -    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], },
 +    ];
@@ -643,4 +643,4 @@ GLTFファイルはただのJSONファイルなので簡単に中身を見れま
 
 
 
-</body></html>
+</body></html>

+ 2 - 2
manual/ko/load-gltf.html

@@ -262,7 +262,7 @@ gltfLoader.load('resources/models/cartoon_lowpoly_small_city_free_pack/scene.glt
 -    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], },
 +    ];
@@ -674,4 +674,4 @@ for (const car of loadedCars.children.slice()) {
 
 
 
-</body></html>
+</body></html>

+ 1 - 1
manual/zh/load-gltf.html

@@ -262,7 +262,7 @@ gltfLoader.load('resources/models/cartoon_lowpoly_small_city_free_pack/scene.glt
 -    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], },
 +    ];