add cleanup of geometries and textures
This commit is contained in:
parent
3fd79573e6
commit
c48a3fb147
4 changed files with 42 additions and 7 deletions
|
|
@ -112,9 +112,11 @@
|
|||
},
|
||||
remove: function() {
|
||||
view.remove(stack.obj.view);
|
||||
THREE.dispose(stack.obj.view);
|
||||
},
|
||||
clear: function() {
|
||||
view.remove(stack.obj.view);
|
||||
THREE.dispose(stack.obj.view);
|
||||
},
|
||||
button: function(label, action) {
|
||||
UC.newRow([ UC.newButton(label, action) ]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue