cleaner api / broker wrap
This commit is contained in:
parent
2f2cb85349
commit
116e1b9d9c
3 changed files with 41 additions and 25 deletions
|
|
@ -43,7 +43,7 @@ mesh.group = class MeshGroup extends mesh.object {
|
|||
|
||||
// @param model {MeshModel}
|
||||
remove(model) {
|
||||
// remove all models
|
||||
// remove all models and group
|
||||
if (arguments.length === 0) {
|
||||
for (let m of this.models.slice()) {
|
||||
this.remove(m);
|
||||
|
|
|
|||
Loading…
Reference in a new issue