better glbs model loading

This commit is contained in:
Yeicor
2024-02-17 18:38:14 +01:00
parent f50efd3701
commit c357c88a6f
4 changed files with 21 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
export const settings = {
preloadModels: [
// @ts-ignore
new URL('../../assets/fox.glb', import.meta.url).href,
// new URL('../../assets/fox.glb', import.meta.url).href,
// @ts-ignore
// new URL('../../assets/logo.glbs', import.meta.url).href,
new URL('../../assets/logo.glbs', import.meta.url).href,
// Websocket URLs automatically listen for new models from the python backend
//"ws://localhost:8080/"
],