three.js销毁对象
var parent = brick.parent;
parent.remove(brick);
const children = brick.children;
if (!children) return;
children.forEach(({ geometry, material, children }) => {
geometry.dispose();
if (Array.isArray(material)) {
material.forEach((m) => m.dispose());
} else material?.dispose();
if (children.length) children.forEach((item) => distoryObject(item, object));
});