fix mesh gl errors with geometry shallow clone

This commit is contained in:
Stewart Allen 2022-01-04 17:42:19 -05:00
commit 19721b0dcc
3 changed files with 14 additions and 18 deletions

View file

@ -89,11 +89,6 @@ mesh.group = class MeshGroup extends mesh.object {
return this;
}
// update(oldmesh, newmesh) {
// this.group.remove(oldmesh);
// this.group.add(newmesh);
// }
// center objects to group bounds
// dependent on first being added to world/scene
centerModels() {