You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Include the custom loader and model viewer (from the **/public** directory):
53
+
2. Include the custom loader and model viewer (from the **/public** directory):<br>
54
54
`loader.js`, `viewer.js`
55
55
56
56
3. Load your object model(s) using **async-await**, but do not add them to the **scene**. See [**Object Loader (Basic Usage)**, #4]() for more usage information.
@@ -59,16 +59,16 @@ This project has no dependencies since it only contains static website files. Ot
59
59
let b = await loadModel(...)
60
60
let c = await loadModel(...)
61
61
62
-
4. Initialize a new **Viewer** object with the loaded models from #1 as parameters.
62
+
4. Initialize a new **Viewer** object with the loaded models from #1 as parameters.<br>
63
63
`const viewer = new Viewer([a, b, c])`
64
64
65
65
66
66
### Object Loader (Basic Usage)
67
67
68
-
1. Include the required Three.js files in your website (from the **/public/js** directory):
68
+
1. Include the required Three.js files in your website (from the **/public/js** directory):<br>
0 commit comments