v3.0.0
Version 3
-
Three.js is now a peer dependency. Depending on your package manager, you might need to install it. This might be a breaking change, hence the major.
-
New items config options to set the depth of items (visible on the 3d rendering)
const items = ref([
{
color: "#71a4a8",
description: "monitor",
icon: 'deviceLaptop',
typeId: 5,
iconColor: '#1A1A1A',
depth: 2, // New. If not provided, defaults to 1 (cell size)
},
...
])- New config optional 'wall' around the 3d grid:
const config = ref({
showBox: true,
boxThickness: 0.3,
boxHeight: 1,
boxColor: '#5A5A5A'
});