Pārlūkot izejas kodu

Add comment

customisations
alemart 10 mēnešus atpakaļ
vecāks
revīzija
f74fe331f6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      demos/hello-three/demo.js

+ 1
- 1
demos/hello-three/demo.js Parādīt failu

@@ -15,7 +15,7 @@ class Utils
15 15
         const loader = new THREE.GLTFLoader();
16 16
         const gltf = await loader.loadAsync(filepath);
17 17
 
18
-        // glTF defines +y as up. We expect +z to be up.
18
+        // glTF defines +y as up. We expect +z to be up (when XY is the ground plane)
19 19
         if(yAxisIsUp)
20 20
             gltf.scene.rotateX(Math.PI / 2);
21 21
 

Notiek ielāde…
Atcelt
Saglabāt