邓洁 : 合并模型代码

This commit is contained in:
邓洁
2023-12-07 23:30:51 +08:00
parent b194b07b95
commit 38820566ec
10 changed files with 225 additions and 197 deletions

View File

@@ -0,0 +1,10 @@
export default function (meshId) {
return new Promise((resolve, reject) => {
if (!meshId) {
reject("null");
}
const mesh = this.scene.getObjectById(meshId);
this.scene.remove(mesh);
resolve("ok");
});
}