|
|
|
@@ -88,6 +88,27 @@ scenes["EVERYTHING"] = () => { |
|
|
|
updateSizes(true); |
|
|
|
} |
|
|
|
|
|
|
|
scenes["EVERY VIEW AAAAA"] = () => { |
|
|
|
config.height = math.unit(11, "meters"); |
|
|
|
Object.values(availableEntitiesByName).map(maker => { |
|
|
|
return maker.constructor(); |
|
|
|
}).flatMap(entity => { |
|
|
|
return Object.keys(entity.views).map(view => { |
|
|
|
const newEntity = availableEntitiesByName[entity.identifier].constructor(); |
|
|
|
newEntity.view = view; |
|
|
|
return newEntity; |
|
|
|
}); |
|
|
|
}).reduce((counter, entity) => { |
|
|
|
entity.views[entity.view].height = math.unit(1, "meter"); |
|
|
|
const count = Object.values(availableEntitiesByName).length; |
|
|
|
const x = 0.05 + math.floor(counter / 10) / math.ceil(count / 10); |
|
|
|
const y = (counter % 10) / 10 + 0.1; |
|
|
|
displayEntity(entity, entity.view, x, y); |
|
|
|
return counter + 1; |
|
|
|
}, 0); |
|
|
|
updateSizes(true); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function makeOwnerScene(owner) { |
|
|
|
return () => { |
|
|
|
|