bz-toggler

This commit is contained in:
STEINNI
2025-10-20 14:33:13 +00:00
parent d0ca65a435
commit 2ff7bf9b8a
11 changed files with 272 additions and 26 deletions
+3 -5
View File
@@ -26,9 +26,9 @@ class DashboardsController extends WindozController {
grid: true,
})
this.agentDefs = await models.agents.getSprites('Basic 3D')
const a1 = ttb.createAgent('agent42', this.agentDefs.nocode1)
const a2 = ttb.createAgent('agent42', this.agentDefs.nocode2)
this.agentSprites = await models.agents.getSprites('Basic 3D')
const a1 = ttb.createAgent('agent42', this.agentSprites.find(item => item.atp_name=='nocode1').atp_3d)
const a2 = ttb.createAgent('agent42', this.agentSprites.find(item => item.atp_name=='nocode1').atp_3d)
ttb.scene.add(a1)
ttb.scene.add(a2)
@@ -46,7 +46,6 @@ class DashboardsController extends WindozController {
},
{
models: models,
agentDefs: this.agentDefs,
rendererId:'3drenderer',
mode: '3D',
ttb: ttb,
@@ -65,7 +64,6 @@ class DashboardsController extends WindozController {
},
{
models: models,
agentDefs: this.agentDefs,
rendererId:'2drenderer',
mode: '2D',
ttb: ttb,