Swap to one of the bundled models by URL.
(url)
| 276 | }, |
| 277 | /** Swap to one of the bundled models by URL. */ |
| 278 | loadModel(url) { |
| 279 | loadURL(url, (e) => console.error('Failed to load GLB:', e)); |
| 280 | }, |
| 281 | /** Re-sync the world->model matrix after a transform change. */ |
| 282 | refreshMatrix, |
| 283 | /** Show/hide the model. */ |